mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Expand changelog and upgrading rails guide with IdentityMap info
This commit is contained in:
parent
a8dd21d8b4
commit
dde3058c3a
2 changed files with 14 additions and 1 deletions
|
@ -1,6 +1,15 @@
|
||||||
## Rails 4.0.0 (unreleased) ##
|
## Rails 4.0.0 (unreleased) ##
|
||||||
|
|
||||||
* Remove IdentityMap *Carlos Antonio da Silva*
|
* Remove IdentityMap
|
||||||
|
|
||||||
|
IdentityMap has never graduated to be an "enabled-by-default" feature, due
|
||||||
|
to some inconsistencies with associations, as described in this commit:
|
||||||
|
|
||||||
|
https://github.com/rails/rails/commit/302c912bf6bcd0fa200d964ec2dc4a44abe328a6
|
||||||
|
|
||||||
|
Hence the removal from the codebase, until such issues are fixed.
|
||||||
|
|
||||||
|
*Carlos Antonio da Silva*
|
||||||
|
|
||||||
* Added the schema cache dump feature.
|
* Added the schema cache dump feature.
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,10 @@ h4(#plugins4_0). vendor/plugins
|
||||||
|
|
||||||
Rails 4.0 no longer supports loading plugins from <tt>vendor/plugins</tt>. You must replace any plugins by extracting them to gems and adding them to your Gemfile. If you choose not to make them gems, you can move them into, say, <tt>lib/my_plugin/*</tt> and add an appropriate initializer in <tt>config/initializers/my_plugin.rb</tt>.
|
Rails 4.0 no longer supports loading plugins from <tt>vendor/plugins</tt>. You must replace any plugins by extracting them to gems and adding them to your Gemfile. If you choose not to make them gems, you can move them into, say, <tt>lib/my_plugin/*</tt> and add an appropriate initializer in <tt>config/initializers/my_plugin.rb</tt>.
|
||||||
|
|
||||||
|
h4(#identity_map4_0). IdentityMap
|
||||||
|
|
||||||
|
Rails 4.0 has removed <tt>IdentityMap</tt> from <tt>ActiveRecord</tt>, due to "some inconsistencies with associations":https://github.com/rails/rails/commit/302c912bf6bcd0fa200d964ec2dc4a44abe328a6. If you have manually enabled it in your application, you will have to remove the following config that has no effect anymore: <tt>config.active_record.identity_map</tt>.
|
||||||
|
|
||||||
h3. Upgrading from Rails 3.1 to Rails 3.2
|
h3. Upgrading from Rails 3.1 to Rails 3.2
|
||||||
|
|
||||||
If your application is currently on any version of Rails older than 3.1.x, you should upgrade to Rails 3.1 before attempting an update to Rails 3.2.
|
If your application is currently on any version of Rails older than 3.1.x, you should upgrade to Rails 3.1 before attempting an update to Rails 3.2.
|
||||||
|
|
Loading…
Reference in a new issue