aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 2db3c0cdee..63d5bbb9ee 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,11 @@
## Rails 4.0.0 (unreleased) ##
+* Fix ActiveRecord `subclass_from_attrs` when `eager_load` is false.
+ It cannot find subclass because all classes are loaded automatically
+ when it needs.
+
+ *Dmitry Vorotilin*
+
* When `:name` option is provided to `remove_index`, use it if there is no
index by the conventional name.
@@ -18,7 +24,7 @@
Example:
sql = Post.connection.unprepared_statement do
- Post.first.comments.to_sql
+ Post.first.comments.to_sql
end
*Cédric Fabianski*
@@ -100,7 +106,8 @@
Example:
class ChangeEnum < ActiveRecord::Migration
- self.disable_ddl_transaction!
+ disable_ddl_transaction!
+
def up
execute "ALTER TYPE model_size ADD VALUE 'new_value'"
end