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? > > 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... I checked out this and it seems ok with my migration coding part
http://guides.rubyonrails.org/migrations.html 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.

