Is there a tutorial or good example of what to look for for
dependencies issues in a Rails application. I am working with a large
Rails application that is in the process of being ported to 1.2.3 and
could use ideas. I have added
to environment.rb on startup?
Will I need to add references to all my Models/Controllers into the
applications since Auto-loading is fixed/broken???
We’ve fixed a bug that allowed libraries from Ruby’s standard library
to be auto-loaded on reference. Before, if you merely reference the
Pathname constant, we’d autoload pathname.rb. No more, you’ll need to
manually require ‘pathname’ now.
We’ve also improved the handling of module loading, which means that a
reference for Accounting::Subscription will look for app/models/
accounting/subscription.rb. At the same time, that means that merely
referencing Subscription will not look for subscription.rb in any
subdir of app/models. Only app/models/subscription.rb will be tried.
If you for some reason depended on this, you can still get it back by
adding app/models/accounting to config.load_paths in config/