aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
|
* Sidestep need for Kernel#silence_warningsJeremy Kemper2009-05-301-4/+4
|
* Make sure tests pass action name to Controller.action()Pratik Naik2009-05-301-1/+1
|
* The FlashHash and friends causes a lot of needless session storing, when we ↵Johan Sörensen2009-05-281-1/+6
| | | | | | know for a fact that there's no content in the flash. By not storing the empty hash in the session we save a lot of communication with the various session backends, while still keeping the same interface to the flash. [#2703 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Memoize cookies so that updates to cookies are available in the current ↵Olly Legg2009-05-281-0/+6
| | | | | | request. [#2733 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added a compatibility layer to get legacy filter tests to pass on new baseYehuda Katz + Carl Lerche2009-05-271-5/+27
|
* Add % to RESERVED_PCHAR [#2574 state:resolved]Eduard Bondarenko2009-05-271-0/+5
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* ActionController::Flash::FlashHash.use now returns either the value ↵Niels Ganser2009-05-271-0/+15
| | | | | | corresponding to the passed key or itself when no key is passed [#1792 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove a no-op from view path tests and removed a Symbol#to_procCarl Lerche2009-05-261-2/+2
|
* Make Filter#filter work with around filtersPratik Naik2009-05-251-59/+54
|
* test depends on html-scannerJeremy Kemper2009-05-231-0/+1
|
* Modify render_test's determine_layout to match RJSYehuda Katz + Carl Lerche2009-05-221-3/+1
|
* Move html-scanner tests one dir upPratik Naik2009-05-237-944/+0
|
* Cordon off missing filter methodsJeremy Kemper2009-05-221-0/+8
|
* Got controller/render_js_test.rb to pass on new baseYehuda Katz + Carl Lerche2009-05-221-0/+2
|
* Port cookies to new baseJeremy Kemper2009-05-221-13/+27
|
* Get controller/render_other_test.rb to pass on new base and fixed a bug in ↵Yehuda Katz + Carl Lerche2009-05-221-3/+11
| | | | new base with regards to rendering layouts.