class Users < ROM::Relation[:sql]
  base_name :users

  def by_id(id)
    where(id: id)
  end

  def index
    order(:name)
  end

  def by_name(name)
    index.where(name: name)
  end
end

class Users < ROM::Relation[:sql]
  def by_id(id)
    where(id: id)
  end

  def index
    order(:name)
  end

  def by_name(name)
    index.where(name: name)
  end
end

Update dummy app to pass on latest ROM from master
Update dummy app to pass on latest ROM from master
