You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
But here's the problem: If I add the next belongs_to association, it fails:
Message.search({subject_conversation_type_group_organization_id_eq: 1})# => ActiveRecord::ConfigurationError: Association named 'group' was not found for 'Message'; perhaps you misspelled it?
Also, when running the search from the level above the polymorphism, it also works fine.
I have a structure set up
When I run the following search, there are no issues. It works great.
But here's the problem: If I add the next
belongs_to
association, it fails:Also, when running the search from the level above the polymorphism, it also works fine.
Running
Rails 3.0.20
andRuby 1.9.2-p320
The text was updated successfully, but these errors were encountered: