Forum: Ruby on Rails "uninitialized constant Reloadable" error heads-up

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Cf7e5e4b5ca573eec214191fac420a2f?d=identicon&s=25 Dave Silvester (Guest)
on 2006-04-04 21:14
(Received via mailing list)
I can't duplicate this problem on my local machine, but also can't find
any
mentions of it on the Gmane archive, so thought I'd just throw in a
quick
mention in case anyone else comes across it.

On Textdrive, using gem rails 1.1, in an app that works fine on my local
machine, I get the following error in my production.log:

"uninitialized constant Reloadable"

This is in a custom model, not a subclass of ActiveRecord::Base, and the
problem goes away as soon as I comment out the following line on the
live
server (and restart it):

include Reloadable

It's on Textdrive and they appear to be running the latest Ruby version
and so
on, so I don't really know why it's not working.

Anyway, I only need this mixin feature during in development, so it's
not the
end of the world, but I thought I'd post a heads-up anyway, in case
anyone
else has the same problem at some point.

Cheers,

~Dave

--

Dave Silvester
Rent-A-Monkey Website Development
http://www.rentamonkey.com/

PGP Key: http://www.rentamonkey.com/pgpkey.asc
833fbd3f58a8ebbeb43756e8634334ed?d=identicon&s=25 Nicholas Henry (Guest)
on 2006-04-19 19:54
(Received via mailing list)
Does anybody know why you can't use Reloadable -- I need this for
ActiveForm.

Cheers,
Nicholas
This topic is locked and can not be replied to.