Skip to content

Commit

Permalink
Make the CHANGELOG consistent [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Nov 30, 2012
1 parent 564e32b commit 25a15a7
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions activerecord/CHANGELOG.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,17 +7,22 @@


* Fix dirty attribute checks for TimeZoneConversion with nil and blank * Fix dirty attribute checks for TimeZoneConversion with nil and blank
datetime attributes. Setting a nil datetime to a blank string should not datetime attributes. Setting a nil datetime to a blank string should not
result in a change being flagged. Fix #8310 [Backport #8311] result in a change being flagged.
Fixes #8310.
Backport of #8311.


*Alisdair McDiarmid* *Alisdair McDiarmid*


* Prevent mass assignment to the type column of polymorphic associations when using `build` [Backport #8291] * Prevent mass assignment to the type column of polymorphic associations when using `build`.
Fix #8265 Fixes #8265.
Backport of #8291.


*Yves Senn* *Yves Senn*


* When running migrations on Postgresql, the `:limit` option for `binary` and `text` columns is silently dropped. * When running migrations on Postgresql, the `:limit` option for `binary` and `text` columns is
Previously, these migrations caused sql exceptions, because Postgresql doesn't support limits on these types. silently dropped.
Previously, these migrations caused sql exceptions, because Postgresql doesn't support limits
on these types.


*Victor Costan* *Victor Costan*


Expand All @@ -27,14 +32,15 @@


*George Brocklehurst* *George Brocklehurst*


* `#pluck` can be used on a relation with `select` clause. [Backport #8176] * `#pluck` can be used on a relation with `select` clause.
Fix #7551 Fixes #7551.
Backport of #8176.


Example: Example:


Topic.select([:approved, :id]).order(:id).pluck(:id) Topic.select([:approved, :id]).order(:id).pluck(:id)


*Yves Senn* *Yves Senn*


* Use `nil?` instead of `blank?` to check whether dynamic finder with a bang * Use `nil?` instead of `blank?` to check whether dynamic finder with a bang
should raise RecordNotFound. should raise RecordNotFound.
Expand All @@ -49,17 +55,20 @@
*Nick Rogers* *Nick Rogers*


* Use query cache/uncache when using ENV["DATABASE_URL"]. * Use query cache/uncache when using ENV["DATABASE_URL"].
Fixes #6951. [Backport #8074] Fixes #6951.
Backport of #8074.


*kennyj* *kennyj*


* Do not create useless database transaction when building `has_one` association. [Backport #8154] * Do not create useless database transaction when building `has_one` association.


Example: Example:


User.has_one :profile User.has_one :profile
User.new.build_profile User.new.build_profile


Backport of #8154.

*Bogdan Gusiev* *Bogdan Gusiev*


* `AR::Base#attributes_before_type_cast` now returns unserialized values for serialized attributes. * `AR::Base#attributes_before_type_cast` now returns unserialized values for serialized attributes.
Expand Down

0 comments on commit 25a15a7

Please sign in to comment.