rubyonrailsin

A Ruby and Rails talk

Sunday, March 28, 2010


[Rails] Re: ActiveRecord::StatementInvalid: Mysql Errorr public_indices

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Frederick Cheung wrote:
> On 28 Mar, 16:17, Graham Farrell <li...@ruby-forum.com> wrote:
>> `publiic_indices`
>>
>> I know that none of my tables have an index setup could this be the
>> problem??
>>
> It's looking for a table called publiic_indices, which sounds like a
> typo to me - public_indices would be a more normal spelling. If your
> database does contain a public_indices table then see if there are any
> references to that table name or a publiic_indices.yml fixture file
> and try correcting the spelling.
>
> Fred

Hi Fred,

I noticed that it was looking for the table but I knew that I didn't
have a table of this name in my project.
I found the offending yml file in the fixtures, it was from a MVC that
one of the other guys had created then deleted but for some reason the
this file wasn't deleted also.

Thanks for your help,

Graham
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment

Subscribe feeds via e-mail

Blog Archive