[Rails] "uninitialized constant Reloadable" error heads-up
Dave Silvester
dave at rentamonkey.com
Tue Apr 4 19:11:10 GMT 2006
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
More information about the Rails
mailing list