aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/migration
diff options
context:
space:
mode:
authorAleksey Magusev <lexmag@gmail.com>2012-07-19 00:24:21 +0400
committerAleksey Magusev <lexmag@gmail.com>2012-07-19 00:24:21 +0400
commit5a7d31913bb16977ec85d55de34ac0d79b512d62 (patch)
treefe178a7dc9532832a8ec8ea992f28a29cae61320 /activerecord/lib/active_record/migration
parentfe5b943d9fd389f313dd87bf73b7c11b8746227b (diff)
downloadrails-5a7d31913bb16977ec85d55de34ac0d79b512d62.tar.gz
rails-5a7d31913bb16977ec85d55de34ac0d79b512d62.tar.bz2
rails-5a7d31913bb16977ec85d55de34ac0d79b512d62.zip
Add fkey attributes to `join_table` migration generator
Diffstat (limited to 'activerecord/lib/active_record/migration')
-rw-r--r--activerecord/lib/active_record/migration/join_table.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration/join_table.rb b/activerecord/lib/active_record/migration/join_table.rb
index e880ae97bb..e456c81fc9 100644
--- a/activerecord/lib/active_record/migration/join_table.rb
+++ b/activerecord/lib/active_record/migration/join_table.rb
@@ -8,7 +8,7 @@ module ActiveRecord
end
def join_table_name(table_1, table_2)
- [table_1, table_2].sort.join("_").to_sym
+ [table_1, table_2].sort.join("_")
end
end
end