We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Imported from lighthouse. Original ticket at: http://browsermedia.lighthouseapp.com/projects/28481/tickets/366. Created by Mezza - 2010-07-16 11:32:36 UTC
I tried to create a content_block for a custom model called 'Year' with an attribute 'year' of type integer.
When using the content_block generator created forms, and actually trying to create a Year record I get an unexpected error:
ActiveRecord::AssociationTypeMismatch: Year(#2195820060) expected, got Fixnum(#2148235880)
Bizarrely, if I drop the attribute from the content_block model and add one called 'year_value' then all is well.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Imported from lighthouse. Original ticket at: http://browsermedia.lighthouseapp.com/projects/28481/tickets/366. Created by Mezza - 2010-07-16 11:32:36 UTC
I tried to create a content_block for a custom model called 'Year' with an attribute 'year' of type integer.
When using the content_block generator created forms, and actually trying to create a Year record I get an unexpected error:
ActiveRecord::AssociationTypeMismatch: Year(#2195820060) expected, got Fixnum(#2148235880)
Bizarrely, if I drop the attribute from the content_block model and
add one called 'year_value' then all is well.
The text was updated successfully, but these errors were encountered: