2014-10-16 03:11:41 -04:00
|
|
|
* Remove `--skip-action-view` option from `Rails::Generators::AppBase`.
|
2014-09-23 19:43:18 -04:00
|
|
|
|
|
|
|
Fixes #17023.
|
|
|
|
|
|
|
|
*Dan Olson*
|
|
|
|
|
2014-09-16 22:42:04 -04:00
|
|
|
* Specify dummy app's db migrate path in plugin's test_helper.rb.
|
|
|
|
|
|
|
|
Fixes #16877.
|
|
|
|
|
|
|
|
*Yukio Mizuta*
|
|
|
|
|
2014-09-18 16:35:19 -04:00
|
|
|
* Inject `Rack::Lock` if `config.eager_load` is false.
|
|
|
|
|
|
|
|
Fixes #15089.
|
|
|
|
|
|
|
|
*Xavier Noria*
|
|
|
|
|
2014-09-13 21:17:54 -04:00
|
|
|
* Change the path of dummy app location in plugin's test_helper.rb for cases
|
|
|
|
you specify dummy_path option.
|
|
|
|
|
|
|
|
*Yukio Mizuta*
|
|
|
|
|
2014-08-27 06:30:35 -04:00
|
|
|
* Fix a bug in the `gem` method for Rails templates when non-String options
|
|
|
|
are used.
|
|
|
|
|
|
|
|
Fixes #16709.
|
|
|
|
|
|
|
|
*Yves Senn*
|
|
|
|
|
2014-08-19 12:41:48 -04:00
|
|
|
* The [web-console](https://github.com/rails/web-console) gem is now
|
|
|
|
installed by default for new applications. It can help you debug
|
2014-08-27 08:13:41 -04:00
|
|
|
development exceptions by spawning an interactive console in its cause
|
2014-08-19 12:41:48 -04:00
|
|
|
binding.
|
|
|
|
|
|
|
|
*Ryan Dao*, *Genadi Samokovarov*, *Guillermo Iguaran*
|
|
|
|
|
2014-07-04 17:16:00 -04:00
|
|
|
* Add a `required` option to the model generator for associations
|
|
|
|
|
|
|
|
*Sean Griffin*
|
|
|
|
|
2014-07-31 06:05:07 -04:00
|
|
|
* Add `after_bundle` callbacks in Rails templates. Useful for allowing the
|
|
|
|
generated binstubs to be added to version control.
|
|
|
|
|
|
|
|
Fixes #16292.
|
|
|
|
|
|
|
|
*Stefan Kanev*
|
|
|
|
|
2014-08-03 18:48:14 -04:00
|
|
|
* Pull in the custom configuration concept from dhh/custom_configuration, which allows you to
|
|
|
|
configure your own code through the Rails configuration object with custom configuration:
|
|
|
|
|
|
|
|
# config/environments/production.rb
|
2014-08-19 18:41:15 -04:00
|
|
|
config.x.payment_processing.schedule = :daily
|
|
|
|
config.x.payment_processing.retries = 3
|
2014-08-19 19:07:39 -04:00
|
|
|
config.x.super_debugger = true
|
2014-08-03 18:48:14 -04:00
|
|
|
|
|
|
|
These configuration points are then available through the configuration object:
|
|
|
|
|
2014-08-19 18:41:15 -04:00
|
|
|
Rails.configuration.x.payment_processing.schedule # => :daily
|
|
|
|
Rails.configuration.x.payment_processing.retries # => 3
|
|
|
|
Rails.configuration.x.super_debugger # => true
|
2014-08-03 18:48:14 -04:00
|
|
|
|
|
|
|
*DHH*
|
|
|
|
|
2014-07-29 06:20:35 -04:00
|
|
|
* Scaffold generator `_form` partial adds `class="field"` for password
|
|
|
|
confirmation fields.
|
|
|
|
|
|
|
|
*noinkling*
|
|
|
|
|
2014-07-10 15:40:07 -04:00
|
|
|
* Add `Rails::Application.config_for` to load a configuration for the current
|
|
|
|
environment.
|
|
|
|
|
|
|
|
# config/exception_notification.yml:
|
|
|
|
production:
|
|
|
|
url: http://127.0.0.1:8080
|
|
|
|
namespace: my_app_production
|
|
|
|
development:
|
|
|
|
url: http://localhost:3001
|
|
|
|
namespace: my_app_development
|
|
|
|
|
|
|
|
# config/production.rb
|
2014-09-19 13:30:31 -04:00
|
|
|
Rails.application.configure do
|
2014-07-10 15:40:07 -04:00
|
|
|
config.middleware.use ExceptionNotifier, config_for(:exception_notification)
|
|
|
|
end
|
|
|
|
|
|
|
|
*Rafael Mendonça França*, *DHH*
|
|
|
|
|
2014-07-11 05:15:00 -04:00
|
|
|
* Deprecate `Rails::Rack::LogTailer` without replacement.
|
2014-06-17 21:48:28 -04:00
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2014-10-26 21:47:47 -04:00
|
|
|
* Add a generic --skip-turbolinks options to generator.
|
2014-06-17 19:02:46 -04:00
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2014-06-03 19:22:45 -04:00
|
|
|
* Invalid `bin/rails generate` commands will now show spelling suggestions.
|
|
|
|
|
|
|
|
*Richard Schneeman*
|
|
|
|
|
2014-05-20 04:14:20 -04:00
|
|
|
* Add `bin/setup` script to bootstrap an application.
|
|
|
|
|
|
|
|
*Yves Senn*
|
|
|
|
|
2014-05-26 00:50:11 -04:00
|
|
|
* Replace double quotes with single quotes while adding an entry into Gemfile.
|
|
|
|
|
|
|
|
*Alexander Belaev*
|
|
|
|
|
2014-05-16 21:00:10 -04:00
|
|
|
* Default `config.assets.digest` to `true` in development.
|
|
|
|
|
|
|
|
*Dan Kang*
|
|
|
|
|
2014-05-23 17:45:21 -04:00
|
|
|
* Load database configuration from the first `database.yml` available in paths.
|
2014-05-07 16:03:23 -04:00
|
|
|
|
|
|
|
*Pier-Olivier Thibault*
|
|
|
|
|
2014-05-02 05:26:31 -04:00
|
|
|
* Reading name and email from git for plugin gemspec.
|
|
|
|
|
|
|
|
Fixes #9589.
|
|
|
|
|
|
|
|
*Arun Agrawal*, *Abd ar-Rahman Hamidi*, *Roman Shmatov*
|
|
|
|
|
2014-04-14 17:56:59 -04:00
|
|
|
* Fix `console` and `generators` blocks defined at different environments.
|
|
|
|
|
|
|
|
Fixes #14748.
|
|
|
|
|
|
|
|
*Rafael Mendonça França*
|
|
|
|
|
2014-04-10 12:58:35 -04:00
|
|
|
* Move configuration of asset precompile list and version to an initializer.
|
|
|
|
|
|
|
|
*Matthew Draper*
|
|
|
|
|
2014-07-06 14:47:16 -04:00
|
|
|
* Remove sqlite3 lines from `.gitignore` if the application is not using sqlite3.
|
2014-03-21 19:26:02 -04:00
|
|
|
|
|
|
|
*Dmitrii Golub*
|
|
|
|
|
2014-03-16 16:08:16 -04:00
|
|
|
* Add public API to register new extensions for `rake notes`.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
config.annotations.register_extensions("scss", "sass") { |tag| /\/\/\s*(#{tag}):?\s*(.*)$/ }
|
|
|
|
|
|
|
|
*Roberto Miranda*
|
|
|
|
|
2013-07-26 11:20:06 -04:00
|
|
|
* Removed unnecessary `rails application` command.
|
|
|
|
|
|
|
|
*Arun Agrawal*
|
|
|
|
|
2014-03-08 09:51:49 -05:00
|
|
|
* Make the `rails:template` rake task load the application's initializers.
|
|
|
|
|
|
|
|
Fixes #12133.
|
|
|
|
|
|
|
|
*Robin Dupret*
|
|
|
|
|
2014-02-18 16:13:23 -05:00
|
|
|
* Introduce `Rails.gem_version` as a convenience method to return
|
|
|
|
`Gem::Version.new(Rails.version)`, suggesting a more reliable way to perform
|
|
|
|
version comparison.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
Rails.version #=> "4.1.2"
|
|
|
|
Rails.gem_version #=> #<Gem::Version "4.1.2">
|
|
|
|
|
|
|
|
Rails.version > "4.1.10" #=> false
|
|
|
|
Rails.gem_version > Gem::Version.new("4.1.10") #=> true
|
|
|
|
Gem::Requirement.new("~> 4.1.2") =~ Rails.gem_version #=> true
|
|
|
|
|
|
|
|
*Prem Sichanugrist*
|
|
|
|
|
2014-02-25 08:57:23 -05:00
|
|
|
* Avoid namespacing routes inside engines.
|
|
|
|
|
|
|
|
Mountable engines are namespaced by default so the generated routes
|
|
|
|
were too while they should not.
|
|
|
|
|
|
|
|
Fixes #14079.
|
|
|
|
|
|
|
|
*Yves Senn*, *Carlos Antonio da Silva*, *Robin Dupret*
|
|
|
|
|
2014-02-25 07:14:35 -05:00
|
|
|
Please check [4-1-stable](https://github.com/rails/rails/blob/4-1-stable/railties/CHANGELOG.md) for previous changes.
|