Closed mrship closed 7 years ago
It looks like yesql relations are being registered for sql adapter, did you set gateway to :container
in yesql relation classes?
I had, as above, but your comment made me realise that I had other relations using the container
gateway that were set to ROM::Relation[:sql]
, so I had a mixture of correctly setup and incorrectly setup relations. Thanks for the help; I'll close this now :)
I'm trying to use rom-yesql alongside rom-sql and receive an error when auto-registering a relation.
My setup is something like this:
In running that setup, I get an error:
I'm not sure why the registration for the yesql relation is in the sql/relation code, but could it be that rom-yesql is not compatible with rom 2.20 and rom-sql 0.9.0 in some way?