diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-23 10:59:58 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-11-23 14:29:04 -0800 |
commit | 4c1f76eaab670ffa95d185374ea91f0d2e2818c7 (patch) | |
tree | ca76347f2d516da97b96cd6ebce7a8ffebcc094a /activerecord/lib | |
parent | 035d00b665a645a12ecd1f9c70dba06bbd4f6201 (diff) | |
download | rails-4c1f76eaab670ffa95d185374ea91f0d2e2818c7.tar.gz rails-4c1f76eaab670ffa95d185374ea91f0d2e2818c7.tar.bz2 rails-4c1f76eaab670ffa95d185374ea91f0d2e2818c7.zip |
initialize_clone can go away
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/base.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index be8ebd4d59..6f0e71cc7b 100644 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -1614,11 +1614,6 @@ MSG self end - def initialize_clone(other) - super - @persisted = other.persisted? - end - # Returns +true+ if the record is read only. Records loaded through joins with piggy-back # attributes will be marked as read only since they cannot be saved. def readonly? |