Hi,
I tried the reloadable option as described below and got an uninitialized
constant error. Is this a 1.1 feature? If not, what else needs to happen
to make this magic work in 1.0?
thanks.
On 4/12/06, Alain Ravet <arav2132@biz.tiscali.be>
wrote:>
> Jon
>
> > I have some common utility classes.
> > I am not sure where to put this kind of code.
>
> Advice:
> 1/ place them in /lib,
> 2/ make them reloadable
>
> ex: lib/my_stuff.rb
> class MyStuff
> include Reloadable
> ...
> end
>
> => you won''t have to restart the server each time you
modify them,
> in developement mode
>
> Alain
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060412/726e2c62/attachment.html