Sha256: 56a5639148a923149e128a08c53ad509211644a539a3f8a5699b88c559baed7f
Contents?: true
Size: 398 Bytes
Versions: 9
Compression:
Stored size: 398 Bytes
Contents
require_relative "../lib/mongoid-dsl" require_relative "helper/connection" class TestD include Mongoid::Document include Mongoid::Timestamps # for manual include but by default after require the module it will happen on the fly! include Mongoid::DSL store_in :collection => self.mongoid_name field :test, :type => String, :desc => "description for this field" end
Version data entries
9 entries across 9 versions & 1 rubygems