mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
e0438b1c07
When helper try to require missing file rails will throw exception about missing helper. # app/helpers/my_helper.rb require 'missing' module MyHelper end And when we try do load helper class ApplicationController helper :my end Rails will throw exception. This is wrong because there is a helper file. Missing helper file helpers/my_helper.rb Now when helper try to require non-existed file rails will throw proper exception. No such file to load -- missing |
||
---|---|---|
.. | ||
views | ||
.helper_test.rb.swp | ||
abstract_controller_test.rb | ||
callbacks_test.rb | ||
collector_test.rb | ||
helper_test.rb | ||
layouts_test.rb | ||
render_test.rb | ||
translation_test.rb |