Ruby on Rails Thursday, November 26, 2015

Eli, 
"Migrations are pending" means that you have created a migration file (in db/migrate folder) BUT a real database table has not been created yet. 
Simply creating a migration file does not create a database table. So you need to tell your rails application to create the table by entering 'bin/rake db:migrate' from the console. 

As Colin Law noted, if you are a newbie then start from a simple tutorial or a book.

On Wed, Nov 25, 2015 at 10:20 PM, Jacob Br <lists@ruby-forum.com> wrote:
Try typing in your console "rake db:migrate".

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/47eff49da28893606f4da6ab3385af00%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAG_K1SZTChqnLxUB9b4fUppyO1dncErhGRz2nc6zokn0e%3D3XKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment