Re: [Rails] Re: module loading issue

2010-04-01 Thread Chris Habgood
Fred, do the initializer files get called before the environment.rb on boot? On Wed, Mar 31, 2010 at 3:32 PM, Frederick Cheung < frederick.che...@gmail.com> wrote: > > > On Mar 31, 8:20 pm, Me wrote: > > Trying to keep things organized I created a directory under app called > > modules. In my e

[Rails] Re: module loading issue

2010-03-31 Thread Frederick Cheung
On Mar 31, 8:20 pm, Me wrote: > Trying to keep things organized I created a directory under app called > modules.  In my env file I did what I did for my other directories: > > config.load_paths += Dir[ "#{RAILS_ROOT}/app/modules/**" ] > > Here is the top of my module: > > module Sanitize >   mo