Sha256: 6303f496f0f66b3c79b932e7d95e1b62b8b8c62c81a2186268ade049c6d1a82f
Contents?: true
Size: 249 Bytes
Versions: 30
Compression:
Stored size: 249 Bytes
Contents
module MongoMapper module RailsCompatibility module Document def self.included(model) model.class_eval do alias_method :new_record?, :new? end end def to_param id end end end end
Version data entries
30 entries across 30 versions & 6 rubygems