mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Create default join table name using a Symbol
Lets stick with a symbol in join table name, it was removed in
993e164365
and broke the build.
This commit is contained in:
parent
24705014b8
commit
2897bf1fd7
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
def join_table_name(table_1, table_2)
|
||||
[table_1, table_2].sort.join("_")
|
||||
[table_1, table_2].sort.join("_").to_sym
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue