diff options
author | Stefan Kanev <stefan.kanev@gmail.com> | 2014-07-18 19:46:53 +0300 |
---|---|---|
committer | Stefan Kanev <stefan.kanev@gmail.com> | 2014-07-18 19:46:53 +0300 |
commit | a013b082aa4459762b55bbc6c59a4f072eef8224 (patch) | |
tree | 4161fe1a062ea26ed7d3feed70c020834f229e5b /activesupport/test/callback_inheritance_test.rb | |
parent | 843b8c0b8c8cccd8d1432060dfc79a8edcc4ed2c (diff) | |
download | rails-a013b082aa4459762b55bbc6c59a4f072eef8224.tar.gz rails-a013b082aa4459762b55bbc6c59a4f072eef8224.tar.bz2 rails-a013b082aa4459762b55bbc6c59a4f072eef8224.zip |
create_join_table uses same logic as HABTM reflections
Before this change, create_join_table would not remove the common prefix
in the join table name, unlike ActiveRecord::Reflections. A HABTM
between Music::Artist and Music::Record would use a table
music_artists_records, while create_join table would create
music_artists_music_records.
Diffstat (limited to 'activesupport/test/callback_inheritance_test.rb')
0 files changed, 0 insertions, 0 deletions