class method
self.remove
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v3.2.22.5Available in: v3.1.12 v3.2.22.5
Signature
self.remove(record)
No documentation comment.
Parameters
-
recordreq
Source
# File activerecord/lib/active_record/identity_map.rb, line 96
def remove(record)
repository[record.class.symbolized_sti_name].delete(record.id)
end
Defined in activerecord/lib/active_record/identity_map.rb line 96
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::IdentityMap