Because the error is in ur mediums controller
"ActiveRecord::StatementInvalid in MediumsController#index"
On Tue, Nov 10, 2009 at 5:15 PM, saravanan bava 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
Frederick Cheung wrote:
> On Nov 10, 3:31�am, Lady Hawk
> wrote:
>> I have a model called "Media", database table "Medias". I had to rename
>> that model to "Medium" and the database table to "Mediums".
>> and now when I run my application , I get the following error:
>>
>> ActiveRecord::Statemen
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 wrote:
>
> Dhruva Sagar wrote:
> > I think you missed to reset your database using rake db:reset after
> > having
> > changed the model name & the cor
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
> http://www.ruby-forum.com/.
--~--~---
On Nov 10, 3:31 am, Lady Hawk
wrote:
> I have a model called "Media", database table "Medias". I had to rename
> that model to "Medium" and the database table to "Mediums".
> and now when I run my application , I get the following error:
>
> ActiveRecord::StatementInvalid in MediumsController#i
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.
>
Try restarting the app first.
>
>
>
> On Tue, Nov 10, 2009 at 9:01 AM, Lady Hawk
> http://www.
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 wrote:
>
> I have a model called "Media", database table "Medias". I had to rename
> th
7 matches
Mail list logo