On May 23, 11:33 am, Hassan Schroeder <[email protected]>
wrote:
> On Mon, May 23, 2011 at 8:06 AM, john shelfer <[email protected]> wrote:
> >> Also check that the database does now actually contain the posts table
> >> with the correct columns.
>
> >     Posts table exist in database but there is no column for name,title
> >     and content even after "rake db:migrate",it couldn't generate.
>
> If your migration didn't run, then how do you expect this to work any
> better than before?
      But to run a migration "rake db:migrate" is right command ,still
it
      didn't run .why?
> And your previously posted migration code was trying to *create* a
> table that apparently already exists, which is pretty much guaranteed
> to fail :-)

  Yes table already exist but migration didn't run so columns are not
  added in table.

 John

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to