On 9 August 2013 11:38, Dheeraj Kumar <
a.dheer...@gmail.com> wrote:
>
> Why don't you do what the error says?
>
> run "rake db:migrate RAILS_ENV=development"
Though you won't normally need RAILS_ENV=development as it should
default to that. First have a look in db/migrate and see if you have
accidentally created a new migration.
Colin
>
>
> --
> Dheeraj Kumar
>
> On Wednesday 7 August 2013 at 9:58 PM, Jenson Lu 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:
>
>
>
>
>
>
>
> To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/B863061C9BD74218BBCDAC03727B20F1%40gmail.com.