lib/generators/rom/mapper/templates/mapper.rb.erb in rom-rails-0.3.0.beta1 vs lib/generators/rom/mapper/templates/mapper.rb.erb in rom-rails-0.3.0.rc1
- old
+ new
@@ -1,7 +1,7 @@
class <%= model_name %>Mapper < ROM::Mapper
- # relation :<%= relation %>
- #
+ relation :<%= relation %>
+
# specify model and attributes ie
#
# model <%= model_name %>
#
# attribute :name