Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add test-case to verify `error.path` when a helper was not found. | Yves Senn | 2013-07-12 | 1 | -0/+5 |
| | | | | | This verifies the code added with: https://github.com/rails/rails/commit/99c9d18601539c7e7e87f26bb047add1f93072af | ||||
* | move `MissingHelperError` out of the `ClassMethods` module. | Yves Senn | 2013-07-12 | 1 | -1/+1 |
| | |||||
* | Show real LoadError on helpers require | Piotr Niełacny | 2013-07-10 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Remove unnecessary begin..rescue..end, use only rescue | Akira Matsuda | 2013-01-06 | 1 | -6/+4 |
| | |||||
* | we raise a subclass of LoadError, so rescue that | Aaron Patterson | 2012-06-14 | 1 | -1/+6 |
| | |||||
* | use consistent explicit module inclusion | Luke Gruber | 2012-03-16 | 1 | -2/+2 |
| | | | | aid ease of understanding and readability for tests | ||||
* | Add clear_helpers as a way to clean up all helpers added to this controller, ↵ | José Valim | 2010-08-26 | 1 | -2/+19 |
| | | | | maintaing just the helper with the same name as the controller. | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -4/+4 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Fix setting helpers_path to a string or pathname | Jeremy Kemper | 2010-07-07 | 1 | -1/+1 |
| | |||||
* | Fix failing tests after merge. | José Valim | 2010-01-24 | 1 | -1/+1 |
| | |||||
* | Rename the RenderingController module to just plain Rendering | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 |
| | |||||
* | Ruby 1.9: work around constant resolution behavior change :( | Jeremy Kemper | 2009-11-04 | 1 | -1/+1 |
| | |||||
* | Move some of helper tests to AbstractController. | José Valim | 2009-11-01 | 1 | -15/+50 |
| | |||||
* | Move all render and layout pieces required in ActionMailer from ↵ | José Valim | 2009-11-01 | 1 | -1/+3 |
| | | | | ActionController to AbstractController. | ||||
* | Follow short name convention for test folder and just call it "abstract" | Joshua Peek | 2009-09-19 | 1 | -0/+44 |