Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4612

Autoforme with Sequel (Ruby) using ManyThroughMany

$
0
0

We have a Ruby application using Roda, Sequel and Autoforme.

If I use the many_through_many plugin for Sequel and define an association as many_through_many in the Sequel model and I add the association into the Autoforme model association_links, that association does not get loaded.

I turned on db debugging and I can see that the query for the association is not called. If I call directly the association on the Sequel model instance, that works fine. So it appears to me that the association is ignored from the association_links.

How can I add this kind of association to the association_links list?

I am happy to provide more details if needed.


Viewing all articles
Browse latest Browse all 4612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>