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

rob lucas roblucas at lucasandblench.com
Fri Dec 14 11:11:28 EST 2007


Great. I have it working now. It was indeed the version of Rails. Thanks for
the help guys.

Rob.

On Dec 14, 2007 3:12 PM, Frederic de Villamil <frederic at de-villamil.com>
wrote:

> Hello,
>
> Typo stable / trunk is not suited to work with Rails 2.0
>
> We have a Rails 2.0 branch, which may lead to a very soon release
> (release planned on sunday December the 16th if things keep going on
> this way)
>
> We've et up a poll on Typo official weblog to let you choose the next
> typo theme. It's at
> http://blog.typosphere.org/articles/2007/12/13/poll-a-new-default-theme-for-typo-5-0
>
> Best regards,
> Frédéric
>
> Le 14 déc. 07 à 15:36, Dmitry Sustretov a écrit :
>
> > 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/ <http://www.loria.fr/%7Esustreto/>
> > ------------------------------------------------------------
> > _______________________________________________
> > Typo-list mailing list
> > Typo-list at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/typo-list
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/typo-list/attachments/20071214/8a5dcb96/attachment.html 


More information about the Typo-list mailing list