ROM::Global#relation

Parsed documentation:
View on GitHub
Global relation setup DSL

@example
  ROM.setup(:memory)

  ROM.relation(:users) do
    def by_name(name)
      restrict(name: name)
    end
  end

@api public
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.