aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2010-04-02 17:39:47 +0100
committerPratik Naik <pratiknaik@gmail.com>2010-04-02 17:39:47 +0100
commit83ebe6224f546d2154ad4ed72bb3f2c9b07de678 (patch)
treedd36d070d02f343e87a61943d28e85fb0d4633b6 /activerecord
parentb77dd218ce845f01753d02fcbc2605c9a5ee93e1 (diff)
downloadrails-83ebe6224f546d2154ad4ed72bb3f2c9b07de678.tar.gz
rails-83ebe6224f546d2154ad4ed72bb3f2c9b07de678.tar.bz2
rails-83ebe6224f546d2154ad4ed72bb3f2c9b07de678.zip
Oops :extends is not a MULTI_VALUE_METHOD
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb
index dde20532af..3ca27f06ea 100644
--- a/activerecord/lib/active_record/relation.rb
+++ b/activerecord/lib/active_record/relation.rb
@@ -4,7 +4,7 @@ module ActiveRecord
class Relation
JoinOperation = Struct.new(:relation, :join_class, :on)
ASSOCIATION_METHODS = [:includes, :eager_load, :preload]
- MULTI_VALUE_METHODS = [:select, :group, :order, :joins, :where, :having, :extends]
+ MULTI_VALUE_METHODS = [:select, :group, :order, :joins, :where, :having]
SINGLE_VALUE_METHODS = [:limit, :offset, :lock, :readonly, :create_with, :from]
include FinderMethods, Calculations, SpawnMethods, QueryMethods, Batches