Ruby on Rails Friday, August 9, 2013

On Aug 7, 2013, at 11:28 AM, Jenson Lu <jenson.lrj@gmail.com> wrote:

> Hi people,
>
> I need some help here. I'm new to ROR, and is following the guideline on "Getting started with rails". The inputs have been accurate and are running well until section:
> "5.1 Laying down the ground word".
> While navigating to http://localhost:3000/posts/new the error message display were:
>
> ActiveRecord::PendingMigrationError
> Migrations are pending; run 'rake db:migrate RAILS_ENV=development' to resolve this issue.
>
> instead of what was suggested in the guide which is suppose to be:

> How should I go resolve this issue?
>
> I'm currently using ruby 2.0.0 and Rails 4.0.0

At this stage of the game, it's hard to hear "yer doin it rong" but something did go wrong. You should not have received that message if you were following the getting started tutorial from the beginning. If you were doing other things, you may have created a migration which the system is complaining about. My suggestion at this point is to start the Getting Started tutorial from scratch with a brand new rails app in a brand new directory.


--
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/4661BD2F-3232-43A2-953F-3D92566B1E7E%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment