Sha256: ef9b07f76313da82772288920c133f4fa8b8bc047c755e60d28d966f67d57d48

Contents?: true

Size: 372 Bytes

Versions: 6

Compression:

Stored size: 372 Bytes

Contents

module RailsAssist::Orm
  module MongoMapper
    include RailsAssist::Orm::Base

    def orm_name
      'MongoMapper'
    end      
  
    def new_model_content name, options={}, &block        
      content = block ? yield : options[:content]
      file_w_include(name, orm_marker_name(name, options)) { content }
    end

    def field_name
      'key'
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails_artifactor-0.5.0 lib/rails_artifactor/artifact/orm/mongo_mapper.rb
rails_artifactor-0.4.0 lib/rails_artifactor/artifact/orm/mongo_mapper.rb
rails_artifactor-0.3.6 lib/rails_artifactor/artifact/orm/mongo_mapper.rb
rails_artifactor-0.3.5 lib/rails_artifactor/artifact/orm/mongo_mapper.rb
rails_artifactor-0.3.4 lib/rails_artifactor/artifact/orm/mongo_mapper.rb
rails_artifactor-0.3.3 lib/rails_artifactor/artifact/orm/mongo_mapper.rb