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
when I try to view the page after completing the Survey Form exercise, I'm getting an error . . . undefined method
undefined method `type_cast_from_database' for "string":String
Extracted source (around line #47):
<div class="row"> <div class="col-md-4 col-md-offset-4"> <%= f.input :favorite, :collection => Visitor::IMAGE_LABELS, label: false, as: :select, prompt: 'Select a favorite...' %> </div> </div>
I double-checked that I had the visitor.rb, visitors_controller.rb and the routes.rb files exactly as written
Not sure what to try next
The text was updated successfully, but these errors were encountered:
I have this similar problem and don't know what to do!
Sorry, something went wrong.
No branches or pull requests
when I try to view the page after completing the Survey Form exercise, I'm getting an error . . . undefined method
undefined method `type_cast_from_database' for "string":String
Extracted source (around line #47):
I double-checked that I had the visitor.rb, visitors_controller.rb and the routes.rb files exactly as written
Not sure what to try next
The text was updated successfully, but these errors were encountered: