Skip to content

Commit

Permalink
quick pass over Active Record CHANGELOG. [ci skip].
Browse files Browse the repository at this point in the history
  • Loading branch information
senny committed Mar 5, 2014
1 parent 5f7f3bb commit 54a120e
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions activerecord/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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.
Expand All @@ -43,8 +41,7 @@

*Godfrey Chan*

* Coerce strings when reading attributes.
Fixes #10485.
* Coerce strings when reading attributes. Fixes #10485.

Example:

Expand Down

0 comments on commit 54a120e

Please sign in to comment.