Closed softmonkeyjapan closed 10 years ago
Hi,
I was using this gem and everything was working as expected so far. However, I recently needed to add a polymorphic association in my user model and include Amistad::FriendModel actually breaks the way Rails is querying the database somehow.
include Amistad::FriendModel
I've created an issue on stackoverflow about it : http://stackoverflow.com/questions/24499383/rails-4-amistad-gem-breaks-polymorphic-association
Any idea why it behave like that?
Ok so I digg into the gem and the problem is actually coming from squeel. Will try to make a fix and a pull request
squeel
Hi,
I was using this gem and everything was working as expected so far. However, I recently needed to add a polymorphic association in my user model and
include Amistad::FriendModel
actually breaks the way Rails is querying the database somehow.I've created an issue on stackoverflow about it : http://stackoverflow.com/questions/24499383/rails-4-amistad-gem-breaks-polymorphic-association
Any idea why it behave like that?