Sha256: c8efcc750b31250ffe707a6c260a8281d7c8ebebbd6c5803e1631b22b886d746

Contents?: true

Size: 378 Bytes

Versions: 11

Compression:

Stored size: 378 Bytes

Contents

module Rails3::Assist::Orm
  module MongoMapper
    include Rails3::Assist::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

11 entries across 11 versions & 1 rubygems

Version Path
rails3_artifactor-0.4.0 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.3.2 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.3.1 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.3.0 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.2.8 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.2.7 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.2.6 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.2.5 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.2.4 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.2.3 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb
rails3_artifactor-0.2.2 lib/rails3_artifactor/artifact/orm/mongo_mapper.rb