[typo] LoadError starting typo: Expected (...)app/models/category.rb to define Category

Dmitry Sustretov dmitry.sustretov at gmail.com
Fri Dec 14 09:36:35 EST 2007


I had those messages when I tried to run typo on Rails 2.0.

Try to run it with Rails 1.2.

On 14/12/2007, rob lucas <robjlucas at googlemail.com> wrote:
> Hi,
>
> I'm having some problems getting Typo running.
>
> Anyone got any idea why this is happening?
>
> > LoadError (Expected
> /var/www/FoggedUpBeyondAllRecognition/app/models/category.rb
> to define Category):
> >
>
> If I turn off class caching, instead I get:
>
> > NameError (undefined local variable or method `acts_as_list' for
> #<Class:0x40b5a960>):
> >
> /var/lib/gems/1.8/gems/activerecord-2.0.1/lib/active_record/base.rb:1459:in
> `method_missing'
> >     /app/models/category.rb:2
> >     ...etc...
> >
>
> It seems that a problem with acts_as_list is breaking the Category class.
>
> Any help would be much appreciated.
>
> Thanks,
>
> Rob.
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>


-- 
Dmitry Sustretov
------------------------------------------------------------
-- PhD student at INRIA Lorraine-LORIA
-- http://www.loria.fr/~sustreto/
------------------------------------------------------------


More information about the Typo-list mailing list