Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove deprecated stuff in ActionController | Carlos Antonio da Silva | 2010-09-26 | 6 | -17/+18 |
| | | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController. | ||||
* | Fix logging when cache key contains % sign [#5570 state:resolved] | Krekoten' Marjan | 2010-09-25 | 1 | -0/+16 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Make redirect_to accept blocks [#5643 state:resolved] | Nando Vieira | 2010-09-24 | 1 | -0/+38 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Exception handling more readable | Thiago Pradi | 2010-09-19 | 1 | -8/+8 |
| | | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | removing some warnings | Aaron Patterson | 2010-09-18 | 2 | -6/+6 |
| | |||||
* | Fix header capitalization by explicitly upcasing first letter of every word, ↵ | Maxim Chernyak | 2010-09-18 | 1 | -0/+11 |
| | | | | and avoiding capitalize. [#5636 state:resolved] | ||||
* | get csrf_meta_tag back to the generated layout in deference to existing ↵ | Xavier Noria | 2010-09-14 | 1 | -1/+1 |
| | | | | printed material, chomp also the generated HTML to be faithful to the output before the refactor | ||||
* | added block arguments to ActionController::Metal#use | Collin Miller | 2010-09-12 | 1 | -0/+22 |
| | | | | | | | | | | | Useful for cases such as warden, where a block configuration is taken. class SomeController < ApplicationController use RailsWarden::Manager do |manager| manager.default_strategies :facebook_oauth manager.failure_app = SomeController.action(:authorize) end end | ||||
* | revises implementation and documentation of csrf_meta_tags, and aliases ↵ | Xavier Noria | 2010-09-11 | 1 | -2/+6 |
| | | | | csrf_meta_tag to it for backwards compatibilty | ||||
* | Cleanup Action Dispatch assertions tests | Carlos Antonio da Silva | 2010-09-06 | 1 | -108/+37 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Cleanup deprecations in Action Dispatch | Carlos Antonio da Silva | 2010-09-06 | 2 | -28/+6 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Cleanup deprecation warnings in Action Controller | Carlos Antonio da Silva | 2010-09-06 | 3 | -55/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove a few tests from old router that do not make sense with the new one. | José Valim | 2010-09-05 | 2 | -67/+3 |
| | |||||
* | Deleted test with extended regexp - it fails with no reason, probably ↵ | Piotr Sarnacki | 2010-09-05 | 1 | -21/+0 |
| | | | | rack-mount is doing something weird with that regexp | ||||
* | Fixed 2 broken tests for router. | Łukasz Strzałkowski | 2010-09-05 | 1 | -3/+3 |
| | | | | They were broken after rebase/merge | ||||
* | This test is invalid for new router | Łukasz Strzałkowski | 2010-09-05 | 1 | -20/+0 |
| | |||||
* | Removed tests for setting default value of *path in route | Łukasz Strzałkowski | 2010-09-05 | 1 | -25/+0 |
| | | | | If we want to have this - we have to change Rack::Mount source | ||||
* | Made test_generate pass | Łukasz Strzałkowski | 2010-09-05 | 1 | -9/+1 |
| | | | | I've removed assertions with @routes.generate(:use_route => ...). I'm not 100% sure if not supporting :use_route in new router is intentional or it should rather be supported and backported from 2.3.x. | ||||
* | If it's unused there's no reason to keep it commented. It will always remain ↵ | Łukasz Strzałkowski | 2010-09-05 | 1 | -11/+0 |
| | | | | in git history, so removing it. | ||||
* | Fixed routes to use new API in a few more actionpack tests | Piotr Sarnacki | 2010-09-05 | 5 | -18/+56 |
| | |||||
* | Removed rest of errors and failures in routing_test.rb. Almost all squashed, ↵ | Łukasz Strzałkowski | 2010-09-05 | 1 | -92/+79 |
| | | | | only few left | ||||
* | raise error on invalid HTTP methods or :head passed with :via in routes | Piotr Sarnacki | 2010-09-05 | 1 | -1/+1 |
| | |||||
* | Implemented resources :foos, :except => :all option | Piotr Sarnacki | 2010-09-05 | 1 | -3/+9 |
| | |||||
* | Test for recognizing routes with http method set | Łukasz Strzałkowski | 2010-09-05 | 1 | -1/+40 |
| | |||||
* | Fixed about half of broken tests in routing_test | Łukasz Strzałkowski | 2010-09-05 | 1 | -125/+82 |
| | |||||
* | Fixed almost all resources tests | Piotr Sarnacki | 2010-09-05 | 1 | -159/+213 |
| | |||||
* | Fixed url_for test | Łukasz Strzałkowski | 2010-09-05 | 1 | -1/+1 |
| | | | | Added route which matches all: controller, action, id and format | ||||
* | Removed deprecated RouteSet API, still many tests fail | Piotr Sarnacki | 2010-09-05 | 17 | -552/+536 |
| | |||||
* | Revert "Setup explicit requires for files with exceptions. Removed them from ↵ | José Valim | 2010-09-02 | 4 | -4/+0 |
| | | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6. | ||||
* | Setup explicit requires for files with exceptions. Removed them from ↵ | Łukasz Strzałkowski | 2010-09-02 | 4 | -0/+4 |
| | | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove deprecated support to <% form_for %> and several ↵ | José Valim | 2010-08-29 | 3 | -77/+2 |
| | | | | ActionController::Base methods. | ||||
* | Ensure that inherited helper_methods are available after calling ↵ | Jesse Storimer | 2010-08-28 | 1 | -0/+31 |
| | | | | | | clear_helpers [#5348 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Be sure to call helper :all just on direct children. (Tests by Jesse Storimer) | José Valim | 2010-08-26 | 1 | -0/+12 |
| | |||||
* | Reset symbolized path parameters when a test request is recycled [#5437 ↵ | Andrew White | 2010-08-24 | 1 | -0/+8 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Config is deprecated on 1.8.8 and 1.9.3 use RbConfig | Santiago Pastorino | 2010-08-23 | 1 | -1/+1 |
| | |||||
* | Support routing constraints in functional tests | Andrew White | 2010-08-20 | 1 | -1/+1 |
| | | | | | | | | | | Extend assert_recognizes and assert_generates to support passing full urls as the path argument. This allows testing of routing constraints such as subdomain and host within functional tests. [#5005 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | code gardening: we have assert_(nil|blank|present), more concise, with ↵ | Xavier Noria | 2010-08-17 | 5 | -11/+11 |
| | | | | better default failure messages - let's use them | ||||
* | object/try should be required after abstract_unit to have AS in the load path | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 21 | -64/+64 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | adds missing requires for Object#try | Xavier Noria | 2010-08-09 | 1 | -0/+1 |
| | |||||
* | Use AS::OrderedHash when trusting in the order of the hash | Santiago Pastorino | 2010-08-01 | 1 | -2/+3 |
| | |||||
* | Fixed a globbed route issue where slashes were being escaped, causing ↵ | Brian Rose | 2010-07-21 | 1 | -0/+7 |
| | | | | | | assert_routing to fail. [#5135 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Moved a few methods from RecordIdentifier to ActiveModel::Naming | Piotr Sarnacki | 2010-07-21 | 1 | -40/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove assert_valid. It was already deprecated on Rails 2.3. | José Valim | 2010-07-19 | 1 | -15/+0 |
| | |||||
* | Exceptions from views should be rescued based on the original exception. If ↵ | Neeraj Singh | 2010-07-19 | 1 | -0/+27 |
| | | | | | | | | a handler for original exception is missing then apply ActiveView::TemplateError [#2034 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix setting helpers_path to a string or pathname | Jeremy Kemper | 2010-07-07 | 1 | -3/+3 |
| | |||||
* | Adds tests for content negotiation change introduced in dc5300adb6d46252c26e | Patrik Stenmark | 2010-07-04 | 1 | -0/+20 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Unify routes naming by renaming router to routes | Piotr Sarnacki | 2010-07-02 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Move Rails module to abstract_unit to make test in isolation work | Santiago Pastorino | 2010-06-28 | 1 | -3/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | URL fragments should not have safe characters escaped. Ref: Appendix A, ↵ | Andrew White | 2010-06-25 | 1 | -3/+9 |
| | | | | | | | | http://tools.ietf.org/rfc/rfc3986.txt [#4762 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |