Velocity Reviews

Velocity Reviews (
-   Ruby (
-   -   Undefined method errors in rails (

Daniel Mendler 03-14-2008 03:56 AM

Undefined method errors in rails
Hi all,

I am currently developing a rails application. After a webserver reboot
I often get undefined method errors which are caused by wrong types.

I am using a Builder::XmlMarkup object but sometimes it is interpreted
as Fixnum resulting in those undefined method errors. But normally the
code just works.

Does someone have similar problems or is this only a problem/bug in some
rails specific classloading code? Could someone clarify how classloading
works in ruby? Some classes are autoloaded, others aren't?

Rails is version 2.0.2, Ruby is 1.8.6


All times are GMT. The time now is 10:23 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.