Support for sinatra-activerecord
pplant opened this issue · comments
Peter Plant commented
Is there a way to use this extension also within sinatra-activerecord?
Brian Hempel commented
I'm not familiar with sinatra-activerecord
, but it might work if the Sinatra version is just regular ActiveRecord.
The ActiveRecord::Relation::Union
module in this gem just needs to be mixed into ActiveRecord::Relation
.