diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-20 15:07:17 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-10-20 15:07:17 -0700 |
commit | 954bd126eca03c666996520a2d996e32c772487e (patch) | |
tree | ecda2e57717a044035ca2bf4b57d142a4ed0a9e6 /activerecord | |
parent | 03d4b86e78b161474e4228e0f4a50ab18f4d21cb (diff) | |
download | rails-954bd126eca03c666996520a2d996e32c772487e.tar.gz rails-954bd126eca03c666996520a2d996e32c772487e.tar.bz2 rails-954bd126eca03c666996520a2d996e32c772487e.zip |
extract options is not necessary
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 1a9f7449b7..dd50e1658a 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -973,7 +973,6 @@ module ActiveRecord #:nodoc: if match.scope? self.class_eval <<-METHOD, __FILE__, __LINE__ + 1 def self.#{method_id}(*args) # def self.scoped_by_user_name_and_password(*args) - args.extract_options! # args.extract_options! attributes = construct_attributes_from_arguments( # attributes = construct_attributes_from_arguments( [:#{attribute_names.join(',:')}], args # [:user_name, :password], args ) # ) |