aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/abstract
Commit message (Collapse)AuthorAgeFilesLines
* Added hook point in new base #send_action which does the actual action ↵Yehuda Katz + Carl Lerche2009-05-271-1/+3
| | | | method dispatching
* Add the ability to prepend filters to new callbacksCarl Lerche2009-05-271-0/+9
|
* Get controller/view_paths_test.rb to pass on new baseCarl Lerche2009-05-261-0/+4
|
* 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)
* Slightly modify things to get content type matching working without breaking ↵Yehuda Katz2009-05-232-11/+11
| | | | other code
* Get controller/render_other_test.rb to pass on new base and fixed a bug in ↵Yehuda Katz + Carl Lerche2009-05-221-1/+1
| | | | new base with regards to rendering layouts.
* Get controller/layout_test.rb running on new base except for ↵Yehuda Katz + Carl Lerche2009-05-221-3/+3
| | | | ActionController::Base.exempt_from_layout which is going to be deprecated.
* Cleaned up the #render_to_body chain by extracting determining the templates ↵Yehuda Katz + Carl Lerche2009-05-222-13/+15
| | | | to render to a separate hook point.
* Add all the existing helpers related features to the new basePratik Naik2009-05-231-4/+23
|
* Implemented layout conditions in new baseYehuda Katz + Carl Lerche2009-05-211-3/+22
|
* Added responds_to to new base.Yehuda Katz + Carl Lerche2009-05-201-1/+6
|
* Ported simple benchmarking in new baseYehuda Katz + Carl Lerche2009-05-182-0/+29
|
* Refactored AbstractController to provide better hook points for overriding ↵Yehuda Katz + Carl Lerche2009-05-152-14/+17
| | | | aspects of action dispatching
* Merge commit 'origin/master'Yehuda Katz + Carl Lerche2009-05-142-1/+5
|\ | | | | | | | | | | Conflicts: actionpack/lib/action_controller/abstract/base.rb actionpack/lib/action_controller/routing.rb
| * Minimal base/new_base comparisonJeremy Kemper2009-05-142-3/+7
| |
* | Got new base to pass controller/base_test.rb, implemented method_missing ↵Yehuda Katz + Carl Lerche2009-05-142-2/+41
| | | | | | | | action semantics in compatibility mode, and fixed a few action_missing bugs.
* | Cleaning up more render testsYehuda Katz + Carl Lerche2009-05-141-0/+9
|/
* Implemented redirects and partial rendering in new base.Yehuda Katz + Carl Lerche2009-05-123-17/+24
|
* 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-115-14/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-117-44/+50
| | | | | | | | This reverts commit a747ab5b20b9d543e9d311070e3b720c761ae716.
| * Whitespace!Joshua Peek2009-05-077-50/+44
| |
| * Prefer "included" language over "setup"Joshua Peek2009-05-074-12/+15
| |
| * Make module dependency DSL opt inJoshua Peek2009-05-074-2/+9
| |
* | 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
* | More community code review :)Yehuda Katz2009-05-113-12/+4
| |
* | Add support for stripping "layouts/" from the layout name Yehuda Katz + Carl Lerche2009-05-011-0/+3
| |
* | Modify new_base to use String action_names for back-compatYehuda Katz + Carl Lerche2009-05-012-6/+6
| |
* | Ported over the concept of public instance methods on controller child ↵Yehuda Katz + Carl Lerche2009-05-011-7/+41
| | | | | | | | classes as callable action methods
* | Support implicit render and blank renderYehuda Katz + Carl Lerche2009-05-012-3/+14
| |
* | Ported over render :template testsYehuda Katz + Carl Lerche2009-05-012-3/+1
| |
* | Finished implementing render :text in Base2Yehuda Katz + Carl Lerche2009-05-011-0/+13
| |
* | OMG, a lot of workYehuda Katz + Carl Lerche2009-05-012-2/+5
|/
* Refactor ActionView::PathYehuda Katz + Carl Lerche2009-04-222-3/+3
| | | | | | | | * Decouple from ActionController and ActionMailer * Bring back localization support. * Prepare to decouple templates from the filesystem. * Prepare to decouple localization from ActionView * Fix ActionMailer to take advantage of ActionView::Path
* Rack::Utils.body_to_s doesn't exist in 1.0Jeremy Kemper2009-04-221-1/+13
|
* Reinstate Base#render_to_string. Introduce ↵Jeremy Kemper2009-04-211-1/+11
| | | | AbstractController#render_to_string which stringifies render_to_body.
* Rename render_to_string to render_to_body since it may return any ↵Jeremy Kemper2009-04-171-3/+3
| | | | Rack-compatible body, not just strings
* Get Base2 layouts to work :)Yehuda Katz and Carl Lerche2009-04-071-13/+21
|
* Layouts work in AbstractController. Add support for the rspec runner for T::UYehuda Katz and Carl Lerche2009-04-071-6/+18
|
* Add depends_on, use, and setup to abstract up ideas about module inheritance.Yehuda Katz and Carl Lerche2009-04-075-40/+33
|
* In the middle of some refactoring... some fails due to changes in ↵Yehuda Katz and Carl Lerche2009-03-231-11/+31
| | | | AbstractController not yet reflected in ActionController tests
* CheckpointYehuda Katz and Carl Lerche2009-03-231-0/+36
|
* Finished implementing layout for render :textCarl Lerche2009-03-231-3/+5
|
* Working on being able to render :text with layoutsCarl Lerche2009-03-231-1/+1
|
* Get very basic layouts working.Yehuda Katz2009-03-192-20/+34
| | | * Required small architecture change
* Started implementing render :actionYehuda Katz2009-03-191-2/+2
|
* Implemented basic template rendering in AC::Base2:Yehuda Katz2009-03-181-1/+5
| | | | | | | * Created several macros for writing simpler specs * Finished making Rack::Test work right * Implemented render_to_string * Status Codes * render :text => nil
* Working toward getting a basic AbstractController frameworkYehuda Katz2009-03-172-1/+14
|
* memoize correctly ;)Yehuda Katz2009-03-031-2/+5
|
* Helpers with an initial testYehuda Katz2009-03-032-0/+58
|