class <%= class_name %>Relation < ROM::Relation<%= "[:#{adapter}]" %> <% if gateway -%> gateway :<%= gateway %> <% else -%> # gateway :default <% end -%> dataset :<%= dataset %> register_as :<%= register_as %> # define your methods here ie: # # def all # select(:id, :name).order(:id) # end end