aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/abstract
Commit message (Collapse)AuthorAgeFilesLines
...
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵José Valim2010-09-291-1/+1
| | | | everyone calls super as expected.
* Fix more warnings by defining variables and using instance_variable_defined? ↵Emilio Tagua2010-09-281-2/+4
| | | | instead instance_variable_get.
* Add clear_helpers as a way to clean up all helpers added to this controller, ↵José Valim2010-08-261-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 Pastorino2010-08-143-54/+54
| | | | 's/[ \t]*$//' -i {} \;)
* Reload action_methods in AbstractController after defining new method.Piotr Sarnacki2010-08-041-0/+14
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix setting helpers_path to a string or pathnameJeremy Kemper2010-07-071-1/+1
|
* Ensure overwritten callbacks conditions in controllers work [#4761 ↵José Valim2010-06-221-2/+12
| | | | state:resolved] [#3913 state:resolved]
* Use assert_respond_to because it has better error messagingNeeraj Singh2010-05-181-4/+4
| | | | | | [#4628 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Whitespacewycats2010-04-041-34/+33
|
* render_to_string should have the identical signature as renderwycats2010-04-041-0/+10
|
* Allow anything that responds to render to be given as :template and use ↵José Valim2010-03-121-104/+52
| | | | find_template instead of find in views.
* Move details to lookup_context and make resolvers use the cache key.José Valim2010-03-081-41/+1
|
* More refactoring on the views side of rendering.José Valim2010-03-082-51/+84
|
* Finally moved the find template logic to the views.José Valim2010-03-081-2/+2
|
* Move layout lookup to views.José Valim2010-03-081-1/+1
|
* Added template lookup responsible to hold all information used in template ↵José Valim2010-03-071-57/+0
| | | | lookup.
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-241-1/+1
|
* deOMGifying Railties, Active Support, and Action PackMikel Lindsaar2010-01-311-9/+9
|
* Added :format and :locale options to render.José Valim2010-01-291-1/+40
|
* Fix rendering of layouts.José Valim2010-01-291-3/+3
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-272/+0
|
* Merge remote branch 'fxn/master'Jeremy Kemper2010-01-261-1/+0
|\
| * deletes no void files removal.rb and class_test.rbXavier Noria2010-01-261-1/+0
| |
* | Bring layouts with proc back alive.José Valim2010-01-261-1/+15
| |
* | Merge branch 'master' of git://github.com/rails/railsJosé Valim and Mikel Lindsaar2010-01-251-1/+1
|\| | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/mail_helper.rb railties/lib/rails/configuration.rb
| * Fix failing tests after merge.José Valim2010-01-241-1/+1
| |
* | Added AbstractController::Collector.José Valim and Mikel Lindsaar2010-01-231-0/+57
|/
* Ensure strings given to render with slash are rendered relative to the ↵José Valim2010-01-221-5/+30
| | | | configured _prefix.
* Add shortcut test to abstract/render_test.rbJosé Valim2010-01-211-0/+9
|
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-201-0/+26
|
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-071-0/+272
| | | | and ActionController up to AbstractController.
* Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-205-5/+5
|
* Reorganize autoloads:Carlhuda2009-12-022-14/+14
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* test-unit 2 compat: assert_raise doesn't support regexp second arg to match ↵Jeremy Kemper2009-11-101-1/+1
| | | | exception message
* Ruby 1.9: work around constant resolution behavior change :(Jeremy Kemper2009-11-041-1/+1
|
* Extracted localized_cache.rb from ActionController, added it to ↵José Valim2009-11-011-0/+57
| | | | AbstractController and made ActionMailer use it.
* Add some basic render_test to AbstractController.José Valim2009-11-011-0/+88
|
* Improve AbstractController layouts coverage.José Valim2009-11-011-12/+41
|
* Move some of helper tests to AbstractController.José Valim2009-11-011-15/+50
|
* Move all render and layout pieces required in ActionMailer from ↵José Valim2009-11-011-1/+3
| | | | ActionController to AbstractController.
* Follow short name convention for test folder and just call it "abstract"Joshua Peek2009-09-1914-0/+772