diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-09-08 14:51:53 -0700 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-09-08 14:51:53 -0700 |
commit | 5d264f229c3798367e445d1ca02f3910ad9db547 (patch) | |
tree | 6b883121105d798ee671d10fb5199971841e5223 /activerecord/CHANGELOG.md | |
parent | f6296601a2fcd440cc12bbc5e0b6c61ce7269ecb (diff) | |
parent | 4f107da4ffafa2b77d87fc5a6fb09fa34343184c (diff) | |
download | rails-5d264f229c3798367e445d1ca02f3910ad9db547.tar.gz rails-5d264f229c3798367e445d1ca02f3910ad9db547.tar.bz2 rails-5d264f229c3798367e445d1ca02f3910ad9db547.zip |
Merge pull request #7548 from ernie/missing-attributes-query-fix
Raise MissingAttributeError on query methods
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index b4a04e32d7..6f7b2cb108 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,5 +1,11 @@ ## Rails 4.0.0 (unreleased) ## +* Attribute predicate methods, such as `article.title?`, will now raise + `ActiveModel::MissingAttributeError` if the attribute being queried for + truthiness was not read from the database, instead of just returning false. + + *Ernie Miller* + * `ActiveRecord::SchemaDumper` uses Ruby 1.9 style hash, which means that the schema.rb file will be generated using this new syntax from now on. |