On 30 Sep 2007, at 21:54, Frantisek Psotka wrote:
>
> Hi folks.
>
> I am storing some objects in session. Those classes are defined in
> /lib/graphalg.rb. So I am requiring it automaticaly. But when
> computing
> next request, following error is occured:
>
[usual warning about it being naughty to put objects in the session]
> Session contains objects whose class definition isn''t available.
> Remember to require the classes for all objects kept in the session.
> (Original exception: wrong constant name GraphAlg:: [NameError])
>
> I''ve tried to add require ''GraphAlg'' to
enviroment.rb, (of course)
> doesn''t matter.
Unless that''s a typo, require ''graphalg'' is what you
should be typing.
Fred
>
> Please help (and receive beer in Prague).
>
> Thanks, F.
> --
> 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---