aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-10-20 14:58:16 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-10-20 14:58:16 -0700
commit03d4b86e78b161474e4228e0f4a50ab18f4d21cb (patch)
treedfdf9dabc341fbdb6f1f33cbda316fadb11f50c8 /activerecord
parent96e8e97e78ddcf68474c4c903895c0b33653a720 (diff)
downloadrails-03d4b86e78b161474e4228e0f4a50ab18f4d21cb.tar.gz
rails-03d4b86e78b161474e4228e0f4a50ab18f4d21cb.tar.bz2
rails-03d4b86e78b161474e4228e0f4a50ab18f4d21cb.zip
removing unused variable
Diffstat (limited to 'activerecord')
-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 0e41a1c35c..1a9f7449b7 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -973,7 +973,7 @@ 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)
- options = args.extract_options! # options = args.extract_options!
+ args.extract_options! # args.extract_options!
attributes = construct_attributes_from_arguments( # attributes = construct_attributes_from_arguments(
[:#{attribute_names.join(',:')}], args # [:user_name, :password], args
) # )