Hi I hae a module and the contents inside it (1 class) seems to cache in development mode, meaning I have to re start the server every time I make a code change. Is there a way to stop this? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
On Oct 22, 2006, at 12:57 PM, scot wrote:> I hae a module and the contents inside it (1 class) seems to cache in > development mode, meaning I have to re start the server every time I > make a code change.Put `include Reloadable'' in your class definition. http://weblog.techno-weenie.net/2006/2/21/unitialized-constant- technoweenie -- Chris Wanstrath http://errtheblog.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Chris Wanstrath wrote:> On Oct 22, 2006, at 12:57 PM, scot wrote: > >> I hae a module and the contents inside it (1 class) seems to cache in >> development mode, meaning I have to re start the server every time I >> make a code change. > > Put `include Reloadable'' in your class definition. > > http://weblog.techno-weenie.net/2006/2/21/unitialized-constant- > technoweenie > > -- > Chris Wanstrath > http://errtheblog.comcool, thanks will give it a go! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---