aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #5238, rendered_format is not set when template is not renderedPiotr Sarnacki2012-03-021-2/+6
|
* Adding tests for non-optional glob parametersAndrew White2012-02-261-2/+27
|
* assert => assert_equalArun Agrawal2012-02-251-3/+3
|
* Checking headers in a better way. as doing hereArun Agrawal2012-02-251-4/+3
| | | | 406ece4729e8fd81f156bcb3fce16e938522466e
* Build fix for ruby187-p358Arun Agrawal2012-02-251-2/+7
|
* Fix some warnings on 3-2-stablekennyj2012-02-212-5/+5
|
* adding tests to document behavior for #4817Aaron Patterson2012-02-141-0/+26
|
* Rack body respond to each and not to joinSantiago Pastorino2012-02-141-0/+12
| | | | | | | This fixes undef `to_str' for Rack::Chunked::Body when using caches_action + streaming on an action Closes #5027
* Added unit test to cover changes to RouteSet.url_forRyan McGeary2012-02-071-0/+16
| | | | | ActionDispatch::Routing::RouteSet.url_for now handles passing params through to ActionDispatch::Http::Url.url_for
* Fixed force_ssl redirects to include original query paramsRyan McGeary2012-02-061-0/+6
| | | | | | `ActionController.force_ssl` redirects http URLs to their https equivalent; however, when a URL contains a query string, the resulting redirect lacked the original query string.
* Fix override API response bug in respond_withPrem Sichanugrist2012-02-031-0/+25
| | | | | | | | | | Default responder was only using the given respond block when user requested for HTML format, or JSON/XML format with valid resource. This fix the responder so that it will use the given block regardless of the validity of the resource. Note that in this case you'll have to check for object's validity by yourself in the controller. Fixes #4796
* Added custom regexps to ASTs that have literal nodes on either side ofAaron Patterson2012-01-231-0/+62
| | | | symbol nodes. Fixes #4585
* Do not deprecate performed?José Valim2012-01-191-0/+6
|
* Deprecate AC::UnknownError and AC::DoubleRenderErrorCarlos Antonio da Silva2012-01-172-7/+7
| | | | | Use the constants AbstractController::ActionNotFound and AbstractController::DoubleRenderError respectively instead.
* Deprecate default_charset= at controller levelCarlos Antonio da Silva2012-01-171-12/+20
|
* Add some deprecations for logic being removed in 4.0Carlos Antonio da Silva2012-01-174-13/+10
|
* Fix http digest authentication with trailing '/' or '?' (fixes #4038 and #3228)Piotr Sarnacki2012-01-101-2/+43
|
* When generating routes, the last defined named route wins. This is inAaron Patterson2012-01-031-15/+23
| | | | | | | | | | contrast to route recognition where the first recognized route wins. This behavior will not exist in Rails 4.0. See: https://github.com/rails/rails/issues/4245 https://github.com/rails/rails/issues/4164
* Revert "Named Routes shouldn't override existing ones (currently route ↵Aaron Patterson2012-01-031-2/+2
| | | | | | recognition goes with the earliest match, named routes use the latest match)" This reverts commit 71d769e3b58cb56b4b1d5143936c65be8b27c490.
* deprecate ActiveSupport::Base64Sergey Nartimov2012-01-031-1/+1
| | | | extend and define ::Base64 if needed
* last named route wins. fixes #4164Aaron Patterson2011-12-281-0/+40
| | | | | | This differs from route recognition where first recognized route wins. This will not be supported in Rails 4.0 so that route recognition and generation rules are consistent.
* Provide a class optin for page_cache_compression.José Valim2011-12-241-3/+4
|
* Gzip files on page cachingAndrey A.I. Sitnik2011-12-241-1/+40
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* adding an integration test for splat regexp substitutions. fixes #4138Aaron Patterson2011-12-221-0/+13
|
* Adding an integration test. Fixes #4136Aaron Patterson2011-12-221-0/+9
|
* rack bodies should be a listAaron Patterson2011-12-221-7/+7
|
* refactoring routing testsAaron Patterson2011-12-221-34/+19
|
* adding integration test for journey #7Aaron Patterson2011-12-211-0/+22
|
* caches should not be global, so no need to clear in the teardownAaron Patterson2011-12-211-4/+0
|
* remove warnings about @variable_for_layoutlest2011-12-201-5/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* adding tests for #4029Aaron Patterson2011-12-191-0/+51
|
* warning removed "warning: instance variable @variable_for_layout not ↵Arun Agrawal2011-12-171-0/+1
| | | | initialized"
* Show detailed exceptions no longer returns true if the request is local in ↵José Valim2011-12-162-1/+11
| | | | production.
* Extract the rendering of public exceptions pages into a Rack app.José Valim2011-12-161-1/+1
|
* Get rid of the close checks since we cannot reliably close the session anyway.José Valim2011-12-161-40/+0
|
* it's -> itsXavier Noria2011-12-151-1/+1
|
* Fix diagnostics page for routing errors.José Valim2011-12-151-3/+10
|
* Fix url_for options[:subdomain] to allow objects as valueschoonkeat2011-12-141-0/+8
| | | | * e.g. blog_url(subdomain: current_user) instead of blog_url(subdomain: current_user.to_param)
* Fix another regression related to the layout optimization.José Valim2011-12-081-1/+25
|
* Fix a regression and also fix broken test.José Valim2011-12-081-5/+5
|
* Fix warning for params_wrapper_test.kennyj2011-12-081-1/+1
|
* ParamsWrapper only wrap the accessible attributes when they were setJean-Francois Turcot2011-12-071-1/+28
|
* Fix bug in assert_template when using only `:layout` optionPrem Sichanugrist2011-12-062-1/+17
| | | | | | | | | | Currently if you're do this: assert_template :layout => "foo" Regardless of what layout you were using, the test will always pass. This was broken since the introduction of :layout option in [d9375f3f]. We have a lot of test cases in actionpack/test/controller/layout_test.rb that use this feature. This will make sure that those test cases are not true negative.
* Allowing string as url argument for expire_actionThomas von Deyen2011-12-061-0/+20
|
* Merge pull request #3861 from andyjeffries/masterJosé Valim2011-12-051-2/+2
|\ | | | | Named Routes shouldn't override existing ones (currently route recognition goes with the earliest match, named routes use the latest match)
| * Named Routes shouldn't override existing ones (currently route recognition ↵Andy Jeffries2011-12-051-2/+2
| | | | | | | | goes with the earliest match, named routes use the latest match)
* | use classify in ParamsWrapper to derive model name from controller namelest2011-12-051-0/+35
|/
* Fix for redirect_to to respect urls with a network path reference like ↵Overbryd2011-12-051-0/+10
| | | | "//asset.host.com/resources/1235" see issue #3856
* Merge branch 'exceptions' with the following features:José Valim2011-12-011-0/+1
|\ | | | | | | | | | | | | | | | | * A Railtie API for registering new exceptions and their respective status code (check Active Record railtie for an example) * Extraction of ShowExceptions middleware logging and debugging features into a middleware called DebugExceptions Conflicts: actionpack/CHANGELOG.md
| * Split ShowExceptions responsibilities in two middlewares.José Valim2011-12-011-0/+1
| |