Sha256: a908cbd5fc15efe02b99fee39e8ba645505e18427bf9b98231d6d6dd0d244d36
Contents?: true
Size: 294 Bytes
Versions: 50
Compression:
Stored size: 294 Bytes
Contents
if defined?(ActiveRecord) ActiveRecord::Base.send :class_eval do def dom_id new_record? ? "new_#{self.class.name.underscore}" : "#{self.class.name.underscore}_#{id}" end # # handy accessor for @attributes_cache # attr_reader :attributes_cache end end
Version data entries
50 entries across 50 versions & 2 rubygems