spec/dummy/app/relations/tasks.rb in rom-rails-0.9.0 vs spec/dummy/app/relations/tasks.rb in rom-rails-1.0.0.beta1

- old
+ new

@@ -1,5 +1,7 @@ class Tasks < ROM::Relation[:sql] + schema(:tasks, infer: true) + def by_id(id) where(id: id) end def all