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
This is a trivial example where the foreign keys do not need to be explicitly stated - Rails magic will take care of that for me in this instance - so I can simply remove the foreign_key specifier on the DashboardTab has_many statement and everything works.
This bug seems to be specific to Rails 4.0.1, does not occur on Rails 4.0.0
The text was updated successfully, but these errors were encountered:
Seems like it's working for every test I attempt to create. Perhaps there is an issue with our setup on this project. Vipul's test looks as accurate as can be made to me (and essentially mirrors the version I wrote this weekend based off the test script).
Anyway, since the tests are all passing, and I cannot make them fail, I'll close this ticket.
I'm getting the following message when I attempt to use a has_many through with a defined foreign key:
The query is simply:
The models are structured as follows:
This is a trivial example where the foreign keys do not need to be explicitly stated - Rails magic will take care of that for me in this instance - so I can simply remove the foreign_key specifier on the DashboardTab has_many statement and everything works.
This bug seems to be specific to Rails 4.0.1, does not occur on Rails 4.0.0
The text was updated successfully, but these errors were encountered: