Sha256: b9465ada39b3f50c044c1b436cd6dc10b0e34b2c33afba798fe18aac2d2a9c08
Contents?: true
Size: 176 Bytes
Versions: 6
Compression:
Stored size: 176 Bytes
Contents
class Tasks < ROM::Relation[:sql] gateway :sql schema(:tasks, infer: true) def by_id(id) where(id: id) end def all select(:id, :title).order(:id) end end
Version data entries
6 entries across 6 versions & 1 rubygems