diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-30 11:08:32 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-30 11:08:32 -0200 |
commit | 25a15a7986ef421cb599d66b2c51ea4345416394 (patch) | |
tree | 84a9b3570ffd596fa92910ade9987fa28045a4a8 /activerecord/CHANGELOG.md | |
parent | 564e32b71dfdf9b39ed243b25d9a3f090294ce9d (diff) | |
download | rails-25a15a7986ef421cb599d66b2c51ea4345416394.tar.gz rails-25a15a7986ef421cb599d66b2c51ea4345416394.tar.bz2 rails-25a15a7986ef421cb599d66b2c51ea4345416394.zip |
Make the CHANGELOG consistent [ci skip]
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index a263c26b3a..5ff0d1e204 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -7,17 +7,22 @@ * Fix dirty attribute checks for TimeZoneConversion with nil and blank 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* -* Prevent mass assignment to the type column of polymorphic associations when using `build` [Backport #8291] - Fix #8265 +* Prevent mass assignment to the type column of polymorphic associations when using `build`. + Fixes #8265. + Backport of #8291. *Yves Senn* -* When running migrations on Postgresql, the `:limit` option for `binary` and `text` columns is silently dropped. - Previously, these migrations caused sql exceptions, because Postgresql doesn't support limits on these types. +* When running migrations on Postgresql, the `:limit` option for `binary` and `text` columns is + silently dropped. + Previously, these migrations caused sql exceptions, because Postgresql doesn't support limits + on these types. *Victor Costan* @@ -27,14 +32,15 @@ *George Brocklehurst* -* `#pluck` can be used on a relation with `select` clause. [Backport #8176] - Fix #7551 +* `#pluck` can be used on a relation with `select` clause. + Fixes #7551. + Backport of #8176. - Example: + Example: 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 should raise RecordNotFound. @@ -49,17 +55,20 @@ *Nick Rogers* * Use query cache/uncache when using ENV["DATABASE_URL"]. - Fixes #6951. [Backport #8074] + Fixes #6951. + Backport of #8074. *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: User.has_one :profile User.new.build_profile + Backport of #8154. + *Bogdan Gusiev* * `AR::Base#attributes_before_type_cast` now returns unserialized values for serialized attributes. |