Monday, February 7, 2011

[Rails] Re: when is_a? fails and a Foo isn't a Foo

I think you nailed it Fred. Restarting the app with cache_classes on
fixed the error.

Both the Account and Node models are simple classes though, so I'm not
sure where the reloading is becoming a problem.

Why wouldn't simply restarting the server with cache_classes off fix
something like this as long as I don't modify any code? I tried and the
only thing that got rid of the error was to turn off cache_classes.

--
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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate