diff options
author | SHIBATA Hiroshi <shibata.hiroshi@gmail.com> | 2012-12-03 22:07:14 +0900 |
---|---|---|
committer | SHIBATA Hiroshi <shibata.hiroshi@gmail.com> | 2012-12-03 22:07:14 +0900 |
commit | 127411fdf3a3470e8830abf0c7876db67c0c344a (patch) | |
tree | ef559cf261da6636f0766f5b41ee5bc62cb10310 /activerecord/lib/active_record/base.rb | |
parent | eaa0d0b7744327151d44d0a147fbb70c72678d35 (diff) | |
download | rails-127411fdf3a3470e8830abf0c7876db67c0c344a.tar.gz rails-127411fdf3a3470e8830abf0c7876db67c0c344a.tar.bz2 rails-127411fdf3a3470e8830abf0c7876db67c0c344a.zip |
handled respond_to? with private methods
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 62c8110274..612114bbce 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -557,7 +557,7 @@ module ActiveRecord #:nodoc: end # Backport dup from 1.9 so that initialize_dup() gets called - unless Object.respond_to?(:initialize_dup) + unless Object.respond_to?(:initialize_dup, true) def dup # :nodoc: copy = super copy.initialize_dup(self) |