aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/abstract/callbacks.rb
Commit message (Collapse)AuthorAgeFilesLines
* Writing comments to AbstractControllerYehuda Katz + Carl Lerche2009-06-081-8/+52
|
* Further cleaning up new callbacksYehuda Katz2009-06-021-3/+3
|
* Simplify callbacks to use less metaprogrammingYehuda Katz2009-06-021-15/+15
|
* Get all the callback tests to work on new baseYehuda Katz + Carl Lerche2009-06-011-0/+6
|
* AS::Concern redefines "include" to lazy include modules as dependenciesJoshua Peek2009-05-291-1/+1
|
* Break up DependencyModule's dual function of providing a "depend_on" DSL and ↵Joshua Peek2009-05-281-1/+1
| | | | "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
* Revert "Revert "Whitespace!""Joshua Peek2009-05-281-4/+4
| | | This reverts commit 0cac68d3bed3e6bf8ec2eb994858e4a179046941.
* Add the ability to prepend filters to new callbacksCarl Lerche2009-05-271-0/+9
|
* Make a couple more tests pass. Yehuda Katz2009-05-231-0/+11
| | | | | | | A large number of the remaining failing tests have to do with the semantics of filters that are Objects. The right solution is probably to just implement the filter/before/after semantics in NewCallbacks directly (the current semantics are based on the old AS::Callbacks specs)
* Refactored AbstractController to provide better hook points for overriding ↵Yehuda Katz + Carl Lerche2009-05-151-2/+2
| | | | aspects of action dispatching
* Fixed new callbacks to not call the action when a callback sets the response ↵Yehuda Katz + Carl Lerche2009-05-121-1/+1
| | | | body
* Merge branch 'master' into wip_abstract_controllerYehuda Katz + Carl Lerche2009-05-111-4/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/abstract/callbacks.rb actionpack/lib/action_controller/abstract/renderer.rb actionpack/lib/action_controller/base/base.rb actionpack/lib/action_controller/dispatch/dispatcher.rb actionpack/lib/action_controller/routing/route_set.rb actionpack/lib/action_controller/testing/process.rb actionpack/test/abstract_controller/layouts_test.rb actionpack/test/controller/filters_test.rb actionpack/test/controller/helper_test.rb actionpack/test/controller/render_test.rb actionpack/test/new_base/test_helper.rb
| * Revert "Whitespace!"Yehuda Katz + Carl Lerche2009-05-111-4/+4
| | | | | | | | This reverts commit a747ab5b20b9d543e9d311070e3b720c761ae716.
| * Whitespace!Joshua Peek2009-05-071-4/+4
| |
| * Prefer "included" language over "setup"Joshua Peek2009-05-071-4/+7
| |
* | Don't run the action if callbacks are halted.Yehuda Katz + Carl Lerche2009-05-111-1/+1
| | | | | | In AbstractController, this means that response_body is not empty
* | Modify new_base to use String action_names for back-compatYehuda Katz + Carl Lerche2009-05-011-2/+2
|/
* Add depends_on, use, and setup to abstract up ideas about module inheritance.Yehuda Katz and Carl Lerche2009-04-071-6/+3
|
* Fixes multiple conditionsYehuda Katz2009-02-271-2/+2
|
* Add support for callbacksYehuda Katz2009-02-271-0/+38
|
* Initial hooksYehuda Katz2009-02-271-0/+5