aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-06-30 14:33:37 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-06-30 15:31:23 -0700
commit6a283d598f243197375266c8b981b66f1b5f10c5 (patch)
tree09e037cd65f90f00c92f39847f79fbcd8613dd42 /activerecord/lib/active_record/attribute_methods.rb
parent8e19a5dc4c9d69adc69f52f1377c174a8d5bf751 (diff)
downloadrails-6a283d598f243197375266c8b981b66f1b5f10c5.tar.gz
rails-6a283d598f243197375266c8b981b66f1b5f10c5.tar.bz2
rails-6a283d598f243197375266c8b981b66f1b5f10c5.zip
match method signature of the superclass
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods.rb')
-rw-r--r--activerecord/lib/active_record/attribute_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute_methods.rb b/activerecord/lib/active_record/attribute_methods.rb
index 5833c65893..d0687ed0b6 100644
--- a/activerecord/lib/active_record/attribute_methods.rb
+++ b/activerecord/lib/active_record/attribute_methods.rb
@@ -61,7 +61,7 @@ module ActiveRecord
end
end
- def respond_to?(*args)
+ def respond_to?(name, include_private = false)
self.class.define_attribute_methods unless self.class.attribute_methods_generated?
super
end