aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorPiotr Niełacny <piotr.nielacny@gmail.com>2013-05-16 15:37:19 +0200
committerLTe <piotr.nielacny@gmail.com>2013-07-10 11:26:43 +0200
commite0438b1c071d8dc2c7fc87075485d4ac01f4eb07 (patch)
tree1e32dee1c3d40652cca3734c0ddfe89defac045d /activerecord
parentcd0d5902dd237794049cac1ee89ab0c07a16a851 (diff)
downloadrails-e0438b1c071d8dc2c7fc87075485d4ac01f4eb07.tar.gz
rails-e0438b1c071d8dc2c7fc87075485d4ac01f4eb07.tar.bz2
rails-e0438b1c071d8dc2c7fc87075485d4ac01f4eb07.zip
Show real LoadError on helpers require
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
Diffstat (limited to 'activerecord')
0 files changed, 0 insertions, 0 deletions