If you have a helper that require's a file that
doesn't exist, you get an error message that is confusing, and
wrong.
file: app/helpers/example_helper.rb
require 'md5'
module ExampleHelper
end
will generate an error like:
/Users/jmoses/.rvm/gems/ruby-1.9.2-p136@gemset/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:304:in
rescue in depend_on': Missing helper file helpers/md5.rb
(LoadError) from
/Users/jmoses/.rvm/gems/ruby-1.9.2-p136@shotrunner/gems/activesupport-3.0.4/lib/active_support/dependencies.rb:299:independ_on'
Where the 'md5' above is replaced by whatever file can't be
found. It's confusing, and incorrect, it should either bubble the
load error up, or indicate there's an error in that particular
helper.