Sha256: c49ff9cdbcbd5d3574fdfa74f335e3b65d78caf558b0d7f56738f809d30f56c3

Contents?: true

Size: 190 Bytes

Versions: 3

Compression:

Stored size: 190 Bytes

Contents

class <%= model_name %>Mapper < ROM::Mapper
  relation :<%= relation %>

  # specify model and attributes ie
  #
  # model <%= model_name %>
  #
  # attribute :name
  # attribute :email
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rom-rails-0.3.1 lib/generators/rom/mapper/templates/mapper.rb.erb
rom-rails-0.3.0 lib/generators/rom/mapper/templates/mapper.rb.erb
rom-rails-0.3.0.rc1 lib/generators/rom/mapper/templates/mapper.rb.erb