2

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?

1 Answer 1

2

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!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.