Sha256: 37033e97813b9dc9d4c2ec9cbdad39a6d9df77d610a474cf4147aceeb84d27fa
Contents?: true
Size: 260 Bytes
Versions: 38
Compression:
Stored size: 260 Bytes
Contents
class <%= class_name %> < MongoModel::<%= "Embedded" if options[:embedded] %>Document <%- attributes.each do |a| -%> <%= "property :#{a.name}, #{a.type.capitalize}" %> <%- end -%> <%= "timestamps!" if options[:timestamps] && !options[:embedded] %> end
Version data entries
38 entries across 38 versions & 1 rubygems