Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support to render :once. | José Valim | 2010-10-10 | 1 | -0/+73 |
| | | | | This will be used internally by sprockets to ensure requires are executed just once. | ||||
* | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 1 | -0/+15 |
| | |||||
* | Deprecate old template handler API. Remove old handlers. | José Valim | 2010-10-10 | 2 | -21/+21 |
| | |||||
* | Allow cache to be temporarily disabled through lookup_context. | José Valim | 2010-10-07 | 1 | -1/+12 |
| | |||||
* | render :template => 'foo/bar.json' now works as it should. | José Valim | 2010-10-07 | 2 | -3/+29 |
| | |||||
* | fixing a few test warnings | Aaron Patterson | 2010-10-04 | 1 | -2/+2 |
| | |||||
* | moving fake model to the correct file | Aaron Patterson | 2010-10-03 | 1 | -13/+0 |
| | |||||
* | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 2 | -164/+0 |
| | |||||
* | removing more duplicate code. :'( | Aaron Patterson | 2010-10-01 | 1 | -13/+1 |
| | |||||
* | fixing warnings with regexps on assert_match | Aaron Patterson | 2010-10-01 | 1 | -2/+2 |
| | |||||
* | removing more duplicate code | Aaron Patterson | 2010-10-01 | 1 | -16/+0 |
| | |||||
* | delete repeated code | Aaron Patterson | 2010-10-01 | 1 | -18/+0 |
| | |||||
* | use a method that actually exists | Aaron Patterson | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | fixing space error | Aaron Patterson | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | We can't assign @view_context_class here, define super() in test instead if ↵ | Emilio Tagua | 2010-09-29 | 1 | -0/+1 |
| | | | | we want to avoid warnings. | ||||
* | _ is not a valid scheme name character, \w includes it and also is redundant ↵ | Emilio Tagua | 2010-09-29 | 1 | -0/+7 |
| | | | | | | with \d. 'The scheme name consists of a letter followed by any combination of letters, digits, and the plus ("+"), period ("."), or hyphen ("-") characters; and is terminated by a colon (":").' | ||||
* | Test correct method behaviour. | Emilio Tagua | 2010-09-29 | 1 | -1/+5 |
| | |||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-29 | 8 | -4/+20 |
|\ | |||||
| * | Remove methods to avoid warnings. | Emilio Tagua | 2010-09-28 | 1 | -0/+2 |
| | | |||||
| * | Redefine duplicated test name. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 |
| | | |||||
| * | Remove more warnings on AP. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 |
| | | |||||
| * | Define @title to avoid warnings. | Emilio Tagua | 2010-09-28 | 1 | -0/+4 |
| | | |||||
| * | Use instance_variable_defined? instead instance_variable_get in tests. | Emilio Tagua | 2010-09-28 | 1 | -2/+2 |
| | | |||||
| * | Initialize ivars in tests. | Emilio Tagua | 2010-09-28 | 3 | -0/+3 |
| | | |||||
| * | Remove more warnings by initializing variables in test. | Emilio Tagua | 2010-09-28 | 1 | -0/+6 |
| | | |||||
| * | Remove more warnings: no need to define attr_accessor if already exists. ↵ | Emilio Tagua | 2010-09-28 | 1 | -0/+1 |
| | | | | | | | | Initialize ivar. | ||||
* | | renderer calls object.to_json when rendering :json => object [#5655 ↵ | Diego Carrion | 2010-09-27 | 1 | -0/+13 |
|/ | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rename duplicated test name. | Emilio Tagua | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | Fix indentation. | Emilio Tagua | 2010-09-27 | 1 | -19/+18 |
| | |||||
* | Use parentheses when using assert_match followed by a regexp to avoid warnings. | Emilio Tagua | 2010-09-27 | 7 | -24/+24 |
| | |||||
* | 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 |
| |