-
-
Notifications
You must be signed in to change notification settings - Fork 592
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
"rails generate friendly_id" does not produce correct migration syntax for Rails 5.1 #817
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I'm new to Rails so apologies if this is something on my end done wrong but I am following a tutorial that has me installing friendly_id and after following the friendly_id documentation instructions of running "rails generate friendly_id", the db:migrate is failing with the following message:
i got it working by adding "[5.1]" after the ActiveRecord::Migration in the migration file and rerunning db:migrate. I assume this is due to something new in Rails 5.1 because my instructor was running 5.0 and didn't have any issues.
hope this helps. thanks!
The text was updated successfully, but these errors were encountered: