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?

And your previously posted migration code was trying to *create* a
table that apparently already exists, which is pretty much guaranteed
to fail :-)

You might want to read up on migrations at this point...

FWIW,
-- 
Hassan Schroeder ------------------------ [email protected]
http://about.me/hassanschroeder
twitter: @hassan

-- 
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