Because the error is in ur mediums controller "ActiveRecord::StatementInvalid in MediumsController#index"
On Tue, Nov 10, 2009 at 5:15 PM, saravanan bava <[email protected]> wrote: > Hi > Have u changed the model name in ur controller query. which is in index > method. Please check first. > > > On Tue, Nov 10, 2009 at 4:59 PM, Lady Hawk < > [email protected]> wrote: > >> >> Dhruva Sagar wrote: >> > I think you missed to reset your database using rake db:reset after >> > having >> > changed the model name & the corresponding migrations. >> > >> > Thanks & Regards, >> > Dhruva Sagar. >> > >> > >> > >> > >> > On Tue, Nov 10, 2009 at 9:01 AM, Lady Hawk >> > <[email protected] >> >> As you said I tried rake db:reset ,but it still gives the same error. I >> even restarted the server. >> IS rake db:reset different from rake db:migrate:reset? I tried both . >> Thanks! >> -- >> Posted via http://www.ruby-forum.com/. >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

