method for explicit class loading in Rails 3 requested


I seek to reopen model classes in several places in my Rails 3 app. In order to do this, then, I shall need to bypass the autoloader. Here is the snippet I have used in this attempt, placed in application.rb:

Dir["#{RAILS_ROOT}/app/models/logical/*.rb"].each { |file|   require_dependency "logical/#{file[file.rindex('/') + 1...-3]}" }

(The '1...-3' above helps turn, say, 'app/models/logical/foo.rb' into 'foo'.)

This is not working. My question is 1) where the snippet above might be better placed to effect the intended outcome or 2) can someone please paste any snippets they have used to explicitly load classes in Rails 3?