2012-01-02 15:49:18 -05:00
## Rails 4.0.0 (unreleased) ##
2012-12-05 12:05:33 -05:00
* Add ENV['RACK_ENV'] support to `rails runner/console/server` .
*kennyj*
2012-12-01 15:23:39 -05:00
* Add `db` to list of folders included by `rake notes` and `rake notes:custom` . *Antonio Cangiano*
2012-11-18 11:57:55 -05:00
* Engines with a dummy app include the rake tasks of dependencies in the app namespace.
Fix #8229
*Yves Senn*
2012-11-17 00:20:59 -05:00
* Add sqlserver.yml template file to satisfy '-d sqlserver' being passed to 'rails new'.
2012-11-18 12:01:13 -05:00
Fix #6882
2012-11-17 00:20:59 -05:00
*Robert Nesius*
2012-11-13 13:05:38 -05:00
* Rake test:uncommitted finds git directory in ancestors *Nicolas Despres*
2012-11-07 14:54:49 -05:00
* Add dummy app Rake tasks when --skip-test-unit and --dummy-path is passed to the plugin generator.
Fix #8121
*Yves Senn*
2012-10-24 18:04:12 -04:00
* Ensure that RAILS_ENV is set when accessing Rails.env *Steve Klabnik*
2012-10-29 09:02:16 -04:00
* Don't eager-load app/assets and app/views *Elia Schito*
2012-10-08 07:41:31 -04:00
* Add `.rake` to list of file extensions included by `rake notes` and `rake notes:custom` . *Brent J. Nordquist*
2012-10-08 00:59:42 -04:00
* New test locations `test/models` , `test/helpers` , `test/controllers` , and
`test/mailers` . Corresponding rake tasks added as well. *Mike Moore*
2012-11-07 14:54:49 -05:00
* Set a different cache per environment for assets pipeline
2012-10-09 13:16:51 -04:00
through `config.assets.cache` .
*Guillermo Iguaran*
2012-10-02 20:44:02 -04:00
* `Rails.public_path` now returns a Pathname object. *Prem Sichanugrist*
2012-09-09 00:18:57 -04:00
* Remove highly uncommon `config.assets.manifest` option for moving the manifest path.
2012-10-09 13:16:51 -04:00
This option is now unsupported in sprockets-rails.
2012-09-09 00:18:57 -04:00
*Guillermo Iguaran & Dmitry Vorotilin*
2012-09-19 18:10:32 -04:00
* Add `config.action_controller.permit_all_parameters` to disable
StrongParameters protection, it's false by default.
*Guillermo Iguaran*
2012-10-09 13:16:51 -04:00
* Remove `config.active_record.whitelist_attributes` and
2012-09-19 18:10:32 -04:00
`config.active_record.mass_assignment_sanitizer` from new applications since
MassAssignmentSecurity has been extracted from Rails.
*Guillermo Iguaran*
2012-09-12 21:15:38 -04:00
* Change `rails new` and `rails plugin new` generators to name the `.gitkeep` files
as `.keep` in a more SCM-agnostic way.
Change `--skip-git` option to only skip the `.gitignore` file and still generate
the `.keep` files.
Add `--skip-keeps` option to skip the `.keep` files.
*Derek Prior & Francesco Rodriguez*
2012-08-30 21:50:30 -04:00
* Fixed support for DATABASE_URL environment variable for rake db tasks. *Grace Liu*
2012-09-10 15:36:49 -04:00
* rails dbconsole now can use SSL for MySQL. The database.yml options sslca, sslcert, sslcapath, sslcipher,
and sslkey now affect rails dbconsole. *Jim Kingdon and Lars Petrus*
2012-08-10 17:27:51 -04:00
* Correctly handle SCRIPT_NAME when generating routes to engine in application
that's mounted at a sub-uri. With this behavior, you *should not* use
default_url_options[:script_name] to set proper application's mount point by
yourself. *Piotr Sarnacki*
2012-08-01 15:10:55 -04:00
* `config.threadsafe!` is deprecated in favor of `config.eager_load` which provides a more fine grained control on what is eager loaded *José Valim*
2012-07-08 09:01:49 -04:00
* The migration generator will now produce AddXXXToYYY/RemoveXXXFromYYY migrations with references statements, for instance
rails g migration AddReferencesToProducts user:references supplier:references{polymorphic}
will generate the migration with:
add_reference :products, :user, index: true
add_reference :products, :supplier, polymorphic: true, index: true
*Aleksey Magusev*
2012-06-27 12:06:47 -04:00
* Allow scaffold/model/migration generators to accept a `polymorphic` modifier
for `references` /`belongs_to`, for instance
rails g model Product supplier:references{polymorphic}
will generate the model with `belongs_to :supplier, polymorphic: true`
association and appropriate migration.
*Aleksey Magusev*
2012-06-10 05:38:37 -04:00
* Set `config.active_record.migration_error` to `:page_load` for development *Richard Schneeman*
2012-05-30 11:16:13 -04:00
* Add runner to Rails::Railtie as a hook called just after runner starts. *José Valim & kennyj*
2012-05-22 19:23:17 -04:00
* Add `/rails/info/routes` path, displays same information as `rake routes` *Richard Schneeman & Andrew White*
2012-05-19 09:18:37 -04:00
* Improved `rake routes` output for redirects *Łukasz Strzałkowski & Andrew White*
2012-05-16 18:40:57 -04:00
* Load all environments available in `config.paths["config/environments"]` . *Piotr Sarnacki*
2012-10-12 23:45:54 -04:00
* Add `config.queue_consumer` to change the job queue consumer from the default `ActiveSupport::ThreadedQueueConsumer` . *Carlos Antonio da Silva*
2012-05-03 21:26:30 -04:00
2012-10-12 23:45:54 -04:00
* Add `Rails.queue` for processing jobs in the background. *Yehuda Katz*
2012-05-03 21:26:30 -04:00
2012-03-17 12:36:24 -04:00
* Remove Rack::SSL in favour of ActionDispatch::SSL. *Rafael Mendonça França*
2011-05-15 15:34:36 -04:00
* Remove Active Resource from Rails framework. *Prem Sichangrist*
2012-02-01 02:59:21 -05:00
* Allow to set class that will be used to run as a console, other than IRB, with `Rails.application.config.console=` . It's best to add it to `console` block. *Piotr Sarnacki*
Example:
# it can be added to config/application.rb
console do
# this block is called only when running console,
# so we can safely require pry here
require "pry"
config.console = Pry
end
2012-02-03 06:17:59 -05:00
* Add convenience `hide!` method to Rails generators to hide current generator
namespace from showing when running `rails generate` . *Carlos Antonio da Silva*
2012-01-26 02:06:37 -05:00
* Scaffold now uses `content_tag_for` in index.html.erb *José Valim*
2012-01-02 15:49:18 -05:00
* Rails::Plugin has gone. Instead of adding plugins to vendor/plugins use gems or bundler with path or git dependencies. *Santiago Pastorino*
2012-06-23 15:21:33 -04:00
* Set config.action_mailer.async = true to turn on asynchronous
message delivery *Brian Cardarella*
2012-08-28 15:15:12 -04:00
Please check [3-2-stable ](https://github.com/rails/rails/blob/3-2-stable/railties/CHANGELOG.md ) for previous changes.