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
When trying to access a polymorphic association activerecord 3.1 does not respect the non default primary key (set by set_primary_key), but instead uses default primary key (id) in the generated sql.
When trying to access a polymorphic association activerecord 3.1 does not respect the non default primary key (set by set_primary_key), but instead uses default primary key (id) in the generated sql.
This is not an issue on 3.0.10
Single file example app available: https://github.com/ZmartGroup/active_record_bug_report
Quick paste and reproduce:
git clone git://github.com/ZmartGroup/active_record_bug_report.git && cd active_record_bug_report && bundle install && bundle exec ruby program.rb
The text was updated successfully, but these errors were encountered: