aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-10-10 21:32:01 -0200
committerSantiago Pastorino <santiago@wyeworks.com>2010-10-11 11:54:46 -0200
commite0b76d6151821527f16b3f163abde3ebea1b2a50 (patch)
treec303ea44988442d7dfbe021586978bba2d2de22a /activerecord/lib/active_record/base.rb
parent21a92b8d01eed34a6b26adb51139f1c40467409e (diff)
downloadrails-e0b76d6151821527f16b3f163abde3ebea1b2a50.tar.gz
rails-e0b76d6151821527f16b3f163abde3ebea1b2a50.tar.bz2
rails-e0b76d6151821527f16b3f163abde3ebea1b2a50.zip
reorder removed in favor of except(:order).order
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r--activerecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index ff6be4ff19..78b3507dd9 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -423,7 +423,7 @@ module ActiveRecord #:nodoc:
class << self # Class methods
delegate :find, :first, :last, :all, :destroy, :destroy_all, :exists?, :delete, :delete_all, :update, :update_all, :to => :scoped
delegate :find_each, :find_in_batches, :to => :scoped
- delegate :select, :group, :order, :reorder, :limit, :offset, :joins, :where, :preload, :eager_load, :includes, :from, :lock, :readonly, :having, :create_with, :to => :scoped
+ delegate :select, :group, :order, :except, :limit, :offset, :joins, :where, :preload, :eager_load, :includes, :from, :lock, :readonly, :having, :create_with, :to => :scoped
delegate :count, :average, :minimum, :maximum, :sum, :calculate, :to => :scoped
# Executes a custom SQL query against your database and returns all the results. The results will