Sha256: 06cbfe7d6068c5196dada94d8734ca172e72d2af91deb128c92bd33850413cdb

Contents?: true

Size: 206 Bytes

Versions: 15

Compression:

Stored size: 206 Bytes

Contents

class <%= param(:name).singular.camelcase %>
  include DataMapper::Resource

<% 
for column in migration_columns
-%>
  property :<%= column.column_name %>, <%= column.column_type.camelcase %>
<%
end
-%>
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
mack-data_mapper-0.6.0 lib/model_generator/templates/model.rb.template
mack-data_mapper-0.6.1.1 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.6.1.2 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.6.0.1 lib/model_generator/templates/model.rb.template
mack-data_mapper-0.6.1 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.7.0 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.7.0.1 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.7.1.1 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.7.1 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.8.0.2 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.8.0.1 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.8.0.101 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.8.0.3 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.8.0 lib/mack-data_mapper/model_generator/templates/model.rb.template
mack-data_mapper-0.8.1 lib/mack-data_mapper/model_generator/templates/model.rb.template