spec/dummy/app/relations/dummy_relation.rb in rom-rails-0.9.0 vs spec/dummy/app/relations/dummy_relation.rb in rom-rails-1.0.0.beta1
- old
+ new
@@ -1,4 +1,5 @@
class DummyRelation < ROM::Relation[:test_adapter]
- register_as :dummy
gateway :test
+
+ schema(:dummy, infer: true)
end