diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-04-13 12:15:43 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-04-13 13:17:42 +0100 |
commit | f52253cbebf0124bb74925e91bcca75325eaa502 (patch) | |
tree | d75f134d4d46240a8258951bf30c9f188d0cf6c3 /activerecord/lib/active_record/relation.rb | |
parent | 0183193a6aecefb3b55a5abf20792aee6b57dcc1 (diff) | |
download | rails-f52253cbebf0124bb74925e91bcca75325eaa502.tar.gz rails-f52253cbebf0124bb74925e91bcca75325eaa502.tar.bz2 rails-f52253cbebf0124bb74925e91bcca75325eaa502.zip |
assert valid keys
Diffstat (limited to 'activerecord/lib/active_record/relation.rb')
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index 88fb0e9dda..5fccf3a43d 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -13,6 +13,8 @@ module ActiveRecord SINGLE_VALUE_METHODS = [:limit, :offset, :lock, :readonly, :from, :reordering, :reverse_order, :uniq, :create_with] + VALUE_METHODS = MULTI_VALUE_METHODS + SINGLE_VALUE_METHODS + include FinderMethods, Calculations, SpawnMethods, QueryMethods, Batches, Explain, Delegation attr_reader :table, :klass, :loaded |