diff options
author | Zachary Scott <e@zzak.io> | 2014-12-20 10:28:08 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-12-20 10:28:08 -0800 |
commit | e8e4e72639eb6ab47394e80a4c6f4eed003ee13b (patch) | |
tree | 1c926f30583bae006518d6752cbf13bab5ba33a4 | |
parent | 155a21fe01d4f3489167d2340836b9c4b20e5b53 (diff) | |
download | rails-e8e4e72639eb6ab47394e80a4c6f4eed003ee13b.tar.gz rails-e8e4e72639eb6ab47394e80a4c6f4eed003ee13b.tar.bz2 rails-e8e4e72639eb6ab47394e80a4c6f4eed003ee13b.zip |
Fixed syntax error in RDoc directive
-rw-r--r-- | activerecord/lib/active_record/attribute_methods.rb | 2 |
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 83fcefa64d..b7edac791e 100644 --- a/activerecord/lib/active_record/attribute_methods.rb +++ b/activerecord/lib/active_record/attribute_methods.rb @@ -150,7 +150,7 @@ module ActiveRecord BLACKLISTED_CLASS_METHODS.include?(method_name.to_s) || class_method_defined_within?(method_name, Base) end - def class_method_defined_within?(name, klass, superklass = klass.superclass) # :nodoc + def class_method_defined_within?(name, klass, superklass = klass.superclass) # :nodoc: if klass.respond_to?(name, true) if superklass.respond_to?(name, true) klass.method(name).owner != superklass.method(name).owner |