diff options
author | wangjohn <wangjohn@mit.edu> | 2013-02-19 14:36:42 -0500 |
---|---|---|
committer | wangjohn <wangjohn@mit.edu> | 2013-02-20 10:53:25 -0500 |
commit | d49f862b9a6877f02d6fbf90f276a345abfa4372 (patch) | |
tree | 446855c56bbebc67ee9e812ceb4c44e447be63e8 /activerecord/CHANGELOG.md | |
parent | 3a0b6c8e135e268c1550f93db1b63ba27457dec2 (diff) | |
download | rails-d49f862b9a6877f02d6fbf90f276a345abfa4372.tar.gz rails-d49f862b9a6877f02d6fbf90f276a345abfa4372.tar.bz2 rails-d49f862b9a6877f02d6fbf90f276a345abfa4372.zip |
Added comments about the check_empty_arguments method which is called
for query methods in a where_clause. Also, modified the CHANGELOG entry
because it had false information and added tests.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index a888b79391..60ebe2ff7c 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -6,13 +6,11 @@ *Yves Senn* * ActiveRecord now raises an error when blank arguments are passed to query - methods for which blank arguments do not make sense. This also occurs for - nil-like objects in arguments. + methods for which blank arguments do not make sense. Example: - Post.limit() # => raises error - Post.include([]) # => raises error + Post.includes() # => raises error *John Wang* |