aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/abstract_controller
Commit message (Collapse)AuthorAgeFilesLines
* Add a method for configuring abstract controllersCarl Lerche2010-03-041-0/+4
|
* Modifying configurations on the instance of a controller should not affect ↵Carl Lerche2010-03-031-1/+1
| | | | the class
* Tweak how ActionPack handles InheritableOptionsCarl Lerche2010-03-031-0/+2
|
* Move the original config method onto AbstractControllerCarl Lerche2010-03-031-0/+8
|
* Merge _details_defaults and details_for_renderCarlhuda2010-03-012-3/+3
|
* Fix controller_path returnsing an empty string in Ruby 1.8.7 [#4036 ↵José Valim2010-02-265-12/+4
| | | | status:resolved]
* Add missing require on abstract_controller/collector [#4061 status:resolved]José Valim2010-02-261-0/+2
|
* Renamed LocalizedCache to DetailsCache.José Valim2010-02-243-52/+55
|
* Update AP to start locking down a public API. This work is parallel to some ↵Yehuda Katz2010-02-162-3/+3
| | | | docs I'm working on.
* name.blank? -> anonymous?Xavier Noria2010-02-141-1/+2
| | | | Signed-off-by: Yehuda Katz <yehudakatz@YK.local>
* Convert to class_attributeJeremy Kemper2010-02-013-13/+23
|
* Fix some backward incompatible behavior on AM.José Valim2010-01-302-1/+29
|
* Added :format and :locale options to render.José Valim2010-01-291-1/+10
|
* Fix rendering of layouts.José Valim2010-01-291-1/+2
|
* ActionMailer should depend just on AbstractController.José Valim2010-01-291-156/+0
|
* Bring layouts with proc back alive.José Valim2010-01-261-0/+3
|
* Move double render check out of AbstractController.José Valim and Mikel Lindsaar2010-01-231-4/+0
|
* Added AbstractController::Collector.José Valim and Mikel Lindsaar2010-01-231-0/+30
|
* Ensure strings given to render with slash are rendered relative to the ↵José Valim2010-01-221-12/+25
| | | | configured _prefix.
* Move ActionController::Translation to AbstractController::Translation.José Valim2010-01-202-1/+14
|
* Bring normalize behavior to AbstractController::RenderingJosé Valim2010-01-202-4/+20
|
* Fix DoubleRenderError error messagePratik Naik2010-01-191-1/+1
|
* Clear out AS callback method pollution in AC::Base.action_methodsJoshua Peek2010-01-171-8/+12
|
* Base#action_methods delegates to Base.action_methodsJoshua Peek2010-01-171-58/+62
|
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-071-0/+156
| | | | and ActionController up to AbstractController.
* @_formats initialization should be AbstractController::Base.José Valim2010-01-042-6/+5
|
* Expose a _render_partial hook as thhe _render_template one and make use of it.José Valim2009-12-311-5/+9
|
* controller_path is required by ActionView, so move it up to ↵José Valim2009-12-312-1/+172
| | | | AbstractController and refactor AbstractController::Layouts.
* Silence some trivial warnings: shadowed local vars, indentation mismatchesJeremy Kemper2009-12-282-2/+2
|
* Remove ActionView inline logging to ActiveSupport::Notifications and create ↵José Valim2009-12-261-20/+0
| | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened.
* Make ActionMailer::Base inherit from AbstractController::BaseJosé Valim2009-12-222-32/+4
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Dont introspect inline templates for the logger and cleanup a few styling issuesDavid Heinemeier Hansson2009-12-211-5/+4
|
* AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵Yehuda Katz2009-12-202-1/+1
| | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency)
* Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-203-4/+4
|
* Fix response_body warning in ACJoshua Peek2009-12-141-0/+2
|
* rendering controller needs baseJoshua Peek2009-12-121-0/+1
|
* Relocate AbstractController exceptions into their proper parent modulesJoshua Peek2009-12-123-19/+17
|
* Reorganize autoloads:Carlhuda2009-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | * 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.
* Revert "Revert "Eliminate warning with layout is unset""Jeremy Kemper2009-11-101-1/+1
| | | | This reverts commit d8fd0499bfd6edc676ff3fbffc327656f6d5c320.
* Revert "Eliminate warning with layout is unset"Jeremy Kemper2009-11-101-1/+1
| | | | This reverts commit 1fcf32f8fef8fb5a63a66edacf556a107d12c049.
* Eliminate warning with layout is unsetJeremy Kemper2009-11-101-1/+1
|
* Revert "Eliminate warning with layout is unset"Jeremy Kemper2009-11-101-1/+1
| | | | This reverts commit 90be80361f26d717f9842170315dd8659f35429d.
* Eliminate warning by initializing nil formatsJeremy Kemper2009-11-101-0/+6
|
* Eliminate warning with layout is unsetJeremy Kemper2009-11-101-1/+1
|
* If class doesn't have a name, there's no implied layout name, so don't set ↵Jeremy Kemper2009-11-051-10/+12
| | | | up a _layout method
* Extracted localized_cache.rb from ActionController, added it to ↵José Valim2009-11-011-0/+49
| | | | AbstractController and made ActionMailer use it.
* Add some basic render_test to AbstractController.José Valim2009-11-012-8/+1
|
* Improve AbstractController layouts coverage.José Valim2009-11-011-3/+6
|
* Move all render and layout pieces required in ActionMailer from ↵José Valim2009-11-012-0/+28
| | | | ActionController to AbstractController.
* Remove ActionMailer helpers and rely on AbstractController one.José Valim2009-11-011-11/+70
|