1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add changelog entry for polymorphic option in model generator

Pull request #6856, merged in 52f6e47682.
[ci skip]
This commit is contained in:
Carlos Antonio da Silva 2012-06-27 13:06:47 -03:00
parent 565d54d9ec
commit d79ca9288e

View file

@ -1,5 +1,15 @@
## Rails 4.0.0 (unreleased) ##
* 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*
* Set `config.active_record.migration_error` to `:page_load` for development *Richard Schneeman*
* Add runner to Rails::Railtie as a hook called just after runner starts. *José Valim & kennyj*