diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-03-05 09:07:12 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-03-05 09:07:12 +0100 |
commit | 54a120ed553e04acf0ed6345622370ee30b0c690 (patch) | |
tree | 549095b4f070b08b58744fc0ea320590933cd032 /activerecord | |
parent | 5f7f3bb1df6eb45232e8399611158972ad53ec69 (diff) | |
download | rails-54a120ed553e04acf0ed6345622370ee30b0c690.tar.gz rails-54a120ed553e04acf0ed6345622370ee30b0c690.tar.bz2 rails-54a120ed553e04acf0ed6345622370ee30b0c690.zip |
quick pass over Active Record CHANGELOG. [ci skip].
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 4a522299ed..2357702713 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,12 +1,10 @@ -* Allow strings to specify the `#order` value. +* Allow strings to specify the `#order` value. Fixes #10732. Example: Model.order(id: 'asc').to_sql == Model.order(id: :asc).to_sql - Fixes #10732. - - *Marcelo Casiraghi* + *Marcelo Casiraghi*, *Robin Dupret* * Dynamically register PostgreSQL enum OIDs. This prevents "unknown OID" warnings on enum columns. @@ -24,17 +22,17 @@ value for any enum attribute is always evaluated as 0 during uniqueness validation. - Fixes #14172 + Fixes #14172. *Vilius Luneckas* *Ahmed AbouElhamayed* -* `before_add` callbacks are fired before the record is saved on - `has_and_belongs_to_many` assocations *and* on `has_many :through` - associations. Before this change, `before_add` callbacks would be fired - before the record was saved on `has_and_belongs_to_many` associations, but - *not* on `has_many :through` associations. +* `before_add` callbacks are fired before the record is saved on + `has_and_belongs_to_many` assocations *and* on `has_many :through` + associations. Before this change, `before_add` callbacks would be fired + before the record was saved on `has_and_belongs_to_many` associations, but + *not* on `has_many :through` associations. - Fixes #14144 + Fixes #14144. * Fixed STI classes not defining an attribute method if there is a conflicting private method defined on its ancestors. @@ -43,8 +41,7 @@ *Godfrey Chan* -* Coerce strings when reading attributes. - Fixes #10485. +* Coerce strings when reading attributes. Fixes #10485. Example: |