ROM.relation(:<%= class_name.underscore %>) do # define your methods here ie: # # def all # select(:id, :name).order(:id) # end # end