aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorEloy Duran <eloy.de.enige@gmail.com>2009-09-12 16:16:48 +0200
committerEloy Duran <eloy.de.enige@gmail.com>2009-09-12 16:16:48 +0200
commit26639e8a4558a844e2e374b2916545c3e717b387 (patch)
treebc9acd5394618ed6fa697edb49eb3010ce3cc727 /activerecord/lib/active_record
parenta144b41cbc5111e6282674930e660a7a29578d0a (diff)
downloadrails-26639e8a4558a844e2e374b2916545c3e717b387.tar.gz
rails-26639e8a4558a844e2e374b2916545c3e717b387.tar.bz2
rails-26639e8a4558a844e2e374b2916545c3e717b387.zip
Removed the version of ActiveRecord::Base#destroyed? that was added in a44a1257d879311d88c2d10c366ab0d6561f903a.
Because José Valim was cheeky enough to already add it to the master branch.
Diffstat (limited to 'activerecord/lib/active_record')
-rwxr-xr-xactiverecord/lib/active_record/base.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 2f6e3e8ffd..afa4185c60 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -2813,11 +2813,6 @@ module ActiveRecord #:nodoc:
@attributes.frozen?
end
- # Returns +true+ if the record has been destroyed.
- def destroyed?
- @destroyed
- end
-
# Returns duplicated record with unfreezed attributes.
def dup
obj = super