1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/fixtures
Piotr Niełacny e0438b1c07 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
2013-07-10 11:26:43 +02:00
..
alternate_helpers
bad_customers
customers
filter_test/implicit_actions
fun/games Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
functional_caching Add explicit opt-out for fragment cache digesting 2012-11-25 22:10:44 -06:00
good_customers
helpers
helpers1_pack Fix sorting of helpers from different paths 2012-05-28 06:58:48 +02:00
helpers2_pack Fix sorting of helpers from different paths 2012-05-28 06:58:48 +02:00
helpers_missing Show real LoadError on helpers require 2013-07-10 11:26:43 +02:00
layout_tests Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
layouts Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
localized
multipart UTF-8 encode all keys and values in nested params hash. 2013-03-15 09:17:03 +08:00
old_content_type
override/test
override2/layouts/test
post_test
public Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
quiz/questions
respond_to fix respond_to without blocks not working if one of the blocks is all 2013-02-24 11:47:20 -05:00
respond_with
session_autoload_test/session_autoload_test
star_star_mime
symlink_parent
test Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
_top_level_partial_only.erb
company.rb Remove integration between attr_accessible/protected and AC::Metal::ParamsWrapper 2012-09-16 23:58:20 -05:00
hello.html
ruby_template.ruby Rename .rb template handler to .ruby to avoid conflicts with mustache views classes 2012-09-17 10:07:08 -05:00
shared.html.erb