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