aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
* Added both the documentation and a test case for the collection path name ↵Hugo Peixoto2009-08-091-0/+44
| | | | | | | | customization feature. [#1218 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Make http digest work with different server/browser combinationsJosé Valim2009-08-091-6/+29
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Clean up partial object some more; replace passing around a block to a ↵Yehuda Katz2009-08-091-1/+0
| | | | single block ivar
* Add :redirect to the testable RJS statements [#2612 state:resolved]Jon Wood2009-08-091-0/+7
| | | | | | | Example : assert_select_rjs :redirect, root_path Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix HTTP basic authentication for long credentials [#2572 state:resolved]Jan Schwenzien2009-08-091-0/+25
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Add test ensuring redirect_to uses the given protocol [#2886]Dan Croak2009-08-081-0/+10
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge commit 'jose/responder'Yehuda Katz2009-08-081-5/+5
|\
| * Renamed ActionController::Renderer to ActionController::Responder and ↵José Valim2009-08-081-5/+5
| | | | | | | | ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector.
* | Fixes "Cached fragment hit" written to log even if fragment is not cached ↵Yehuda Katz2009-08-081-0/+15
|/ | | | (Erik Andrejko) [#2917 state:resolved]
* Ruby 1.9 compat: fix route recognition encoding testJeremy Kemper2009-08-071-1/+1
|
* Renamed presenter to renderer, added some documentation and defined its API.José Valim2009-08-071-4/+18
|
* Encapsulate respond_with behavior in a presenter.José Valim2009-08-071-22/+18
|
* Add destroyed? to ActiveRecord, include tests for polymorphic urls for ↵José Valim2009-08-073-75/+33
| | | | destroyed objects and refactor mime responds tests and documentation.
* Add nagivational behavior to respond_with.José Valim2009-08-072-16/+88
|
* Merge branch 'master' of git://github.com/rails/rails into oldJosé Valim2009-08-074-62/+20
|\
| * Replace _render_template_with_layout with _render_template since the layout ↵Yehuda Katz2009-08-072-2/+4
| | | | | | | | is optional
| * Clean up render @object a bit more.Yehuda Katz2009-08-071-57/+0
| |
| * Update cache_control to be a Hash of options that is used to build the header.Yehuda Katz2009-08-022-2/+2
| | | | | | | | * Significantly simplifies setting and modifying cache control in other areas
| * Ruby 1.9: fix encoding for test_file_streamJeremy Kemper2009-08-011-1/+2
| |
| * Ruby 1.9: fix Content-Length for multibyte send_data streamingSava Chankov2009-08-011-0/+12
| | | | | | | | | | | | [#2661 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | Added tests for nested resources.José Valim2009-07-311-12/+48
| |
* | Allow respond_with to deal with http verb accordingly.José Valim2009-07-311-3/+62
|/
* Remove last TODO.José Valim2009-07-291-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Add a couple more tests to respond_with.José Valim2009-07-291-0/+38
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Added respond_with.José Valim2009-07-291-1/+69
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Added tests for respond_to class method.José Valim2009-07-291-2/+68
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Refactor even more Responder. Move mime negotiation to request and added ↵José Valim2009-07-291-10/+12
| | | | | | respond_to class method. Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Refactor Responder to only calculate available mime types. Those are sent to ↵José Valim2009-07-291-3/+3
| | | | | | the controller that knows what to do with it (render a block or call default render). Signed-off-by: Yehuda Katz <wycats@gmail.com>
* AMo conversion helperJoshua Peek2009-07-212-2/+4
|
* Define ActiveModel API ComplianceYehuda Katz2009-07-202-2/+2
| | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP
* Allow symbols on routes declaration (:controller and :action values) [#2828 ↵Jesús García Sáez2009-07-021-0/+10
| | | | | | state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* Accept Symbol for contoller name [#2855 state:resolved]Yehuda Katz + Carl Lerche2009-07-011-0/+11
| | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>
* Make filter_parameters work correctly with array parameters.Vicente Mundim2009-06-271-1/+2
|
* send_data should set Content-Length as a stringJoshua Peek2009-06-251-1/+1
|
* Remove deprecated implicit ivar assignmentJoshua Peek2009-06-251-7/+0
|
* Cleaning up more tests and code that needed to work in both old and new baseYehuda Katz + Carl Lerche2009-06-175-82/+31
|
* Finish making pending tests passYehuda Katz + Carl Lerche2009-06-171-7/+7
|
* RJS doesn't render with an HTML layout by defaultYehuda Katz + Carl Lerche2009-06-171-5/+3
|
* Fixing pending tests and fixed some formats / partial rendering semanticsYehuda Katz + Carl Lerche2009-06-171-19/+3
|
* Fix pending test about content-typeYehuda Katz + Carl Lerche2009-06-171-5/+19
|
* Move model naming into ActiveModelJoshua Peek2009-06-172-0/+3
|
* An exception is raised if a layout is missing only if the layout is missing ↵Yehuda Katz + Carl Lerche2009-06-161-8/+0
| | | | for all mimes
* More _write_layout_method removalYehuda Katz + Carl Lerche2009-06-152-14/+0
|
* Finish making things pass with updated internal content_type semanticsYehuda Katz + Carl Lerche2009-06-152-8/+6
|
* Document and clean up HideActions and HttpYehuda Katz + Carl Lerche2009-06-101-3/+8
|
* Write documentation for AbstractController::HelpersYehuda Katz + Carl Lerche2009-06-091-3/+16
|
* A test to show that http_authentication needs to fail authentication if the ↵nate2009-06-091-0/+14
| | | | | | password procedure returns nil. Also includes a fix to validate_digest_response to fail validation if the password procedure returns nil. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* ActionPack components should no longer have undeclared dependencies.Yehuda Katz + Carl Lerche2009-06-082-7/+7
| | | | | | | * Tests can be run in isolation * Dependencies added * A few tests modified to avoid depending on AS deps not depended on my files they were testing
* YAGNI Method references. DeprecatedYehuda Katz2009-06-021-4/+6
|
* Get all the callback tests to work on new baseYehuda Katz + Carl Lerche2009-06-011-22/+46
|