aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/deprecation_test.rb
diff options
context:
space:
mode:
authorStefan Kanev <stefan.kanev@gmail.com>2014-07-18 19:46:53 +0300
committerStefan Kanev <stefan.kanev@gmail.com>2014-07-18 19:46:53 +0300
commita013b082aa4459762b55bbc6c59a4f072eef8224 (patch)
tree4161fe1a062ea26ed7d3feed70c020834f229e5b /activesupport/test/deprecation_test.rb
parent843b8c0b8c8cccd8d1432060dfc79a8edcc4ed2c (diff)
downloadrails-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/deprecation_test.rb')
0 files changed, 0 insertions, 0 deletions