On Wed, Mar 25, 2009 at 10:04 AM, Bharat Ruparel
<[email protected]> wrote:
>
> I have reduced the problem down to the following: whatever method I
> define in the lib directory under active_record_extensions.rb, is not
> being loaded by rails.
I found the same problem when upgrading an app to 2.3.2 yesterday. I
fixed it using
Dir.glob( "#{ RAILS_ROOT }/lib/*.rb" ).each { |f| require f }
in config/environment.rb.
--
Greg Donald
http://destiney.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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---