Today I had a problem with my rails sample data appearing in MSM sign in. The real issue was that I was not adding rails db:migrate to the terminal after adding tables.Also, I was not adding the:
rails generate migration AddImageToMovies Image:string
rails db:migrate
this adds to the tables in your schema which will help the rails sample_data to appear in your app, because it has somewhere to go to.
Oldest comments (0)