aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-12-22 19:42:11 +0000
committerJon Leighton <j@jonathanleighton.com>2011-12-22 19:42:29 +0000
commit62456a35f15bb3a9c8883fac2c510480f3f276b7 (patch)
treeb030ff28acce48f1892dd501ec02ad0f047a7922 /activerecord
parent1a18198af042031979549b8a5679950f9354caed (diff)
downloadrails-62456a35f15bb3a9c8883fac2c510480f3f276b7.tar.gz
rails-62456a35f15bb3a9c8883fac2c510480f3f276b7.tar.bz2
rails-62456a35f15bb3a9c8883fac2c510480f3f276b7.zip
Remove 1.8 backport
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/base.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index fa5846de39..6a6f463ddd 100644
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -545,15 +545,6 @@ module ActiveRecord #:nodoc:
super
end
- # Backport dup from 1.9 so that initialize_dup() gets called
- unless Object.respond_to?(:initialize_dup)
- def dup # :nodoc:
- copy = super
- copy.initialize_dup(self)
- copy
- end
- end
-
# Populate +coder+ with attributes about this record that should be
# serialized. The structure of +coder+ defined in this method is
# guaranteed to match the structure of +coder+ passed to the +init_with+