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 |
||
---|---|---|
.. | ||
alternate_helpers | ||
bad_customers | ||
customers | ||
filter_test/implicit_actions | ||
fun/games | ||
functional_caching | ||
good_customers | ||
helpers | ||
helpers1_pack | ||
helpers2_pack | ||
helpers_missing | ||
layout_tests | ||
layouts | ||
localized | ||
multipart | ||
old_content_type | ||
override/test | ||
override2/layouts/test | ||
post_test | ||
public | ||
quiz/questions | ||
respond_to | ||
respond_with | ||
session_autoload_test/session_autoload_test | ||
star_star_mime | ||
symlink_parent | ||
test | ||
_top_level_partial_only.erb | ||
company.rb | ||
hello.html | ||
ruby_template.ruby | ||
shared.html.erb |