Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

create_join_table fails with 'comparison of String with Symbol failed' on master #7715

Closed
slbug opened this Issue Sep 20, 2012 · 0 comments

Comments

Projects
None yet
2 participants
Contributor

slbug commented Sep 20, 2012

create_join_table(:assemblies, :parts)

problem in activerecord/lib/active_record/migration/join_table.rb:11:in `sort'

by some reason first element of array is string, second is symbols. both should be strings

create_join_table('assemblies', 'parts') works well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment