Dave Silvester
2006-Apr-04 19:11 UTC
[Rails] "uninitialized constant Reloadable" error heads-up
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
Nicholas Henry
2006-Apr-19 17:51 UTC
[Rails] "uninitialized constant Reloadable" error heads-up
Does anybody know why you can''t use Reloadable -- I need this for ActiveForm. Cheers, Nicholas On 4/4/06, Dave Silvester <dave@rentamonkey.com> wrote:> 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 > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >