Sha256: e99d4f5d98131376cad2d750c942af1cbb8adc8f41c74a0daea0cda8c55aebd1
Contents?: true
Size: 161 Bytes
Versions: 6
Compression:
Stored size: 161 Bytes
Contents
class Tasks < ROM::Relation[: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