I generated scaffold User with attributes name:string and email:string. After fulfilling the form in the browser and hitting Create User, following error occurs:
click
Any clue about what might have gone wrong?
I generated scaffold User with attributes name:string and email:string. After fulfilling the form in the browser and hitting Create User, following error occurs:
click
Any clue about what might have gone wrong?
This happens when using an older version of turbolinks gem. Try updating the gem to the latest version.
Add the following to your Gemfile:
gem 'turbolinks', '~> 2.5.3'
Then, do:
bundle install
Then, restart the rails server and try again!