[Rails] "uninitialized constant Reloadable" error heads-up
Nicholas Henry
nicholas.henry at gmail.com
Wed Apr 19 17:51:57 GMT 2006
Does anybody know why you can't use Reloadable -- I need this for ActiveForm.
Cheers,
Nicholas
On 4/4/06, Dave Silvester <dave at 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 at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
More information about the Rails
mailing list