Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Undefined method errors in rails

Thread Tools

Undefined method errors in rails

Daniel Mendler
Posts: n/a
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


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Undefine Method Only Marks the Method Undefined Su Zhang Ruby 3 04-18-2011 12:11 AM
undefined vs. undefined (was: new Array() vs []) VK Javascript 45 09-12-2006 05:26 PM
Rails - undefined method `headers' Clay Culver Ruby 3 10-25-2005 01:55 AM
undefined behavior or not undefined behavior? That is the question Mantorok Redgormor C Programming 70 02-17-2004 02:46 PM
Errors, errors, errors Mark Goldin ASP .Net 2 01-17-2004 08:05 PM