-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception: comparison of Symbol with String failed #66
Labels
Comments
@RST-J can you paste the exception that's being thrown? :) |
|
@RST-J I've just released thanks for the report :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In some class I have an HABTM association defined where the foreign key is given as symbol which leads to the exception in the title. Changing the symbol to a string fixes this issue, so there probably is some
to_s
missing somewhere.has_and_belongs_to_many :teams, association_foreign_key: :circle_id
is badhas_and_belongs_to_many :teams, association_foreign_key: 'circle_id'
is fineThe text was updated successfully, but these errors were encountered: