aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Anchors should be allowed on constraints that are not on path segmentsCarl Lerche2010-11-161-0/+8
|
* make sure we are only doing sanity checking against regular expressionsAaron Patterson2010-11-151-0/+8
|
* Make after_filter halt when before_filter renders or redirects [#5648 ↵Marcelo Giorgi2010-11-111-2/+79
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added support for Erubis <%== tagJan Maurits Faber2010-11-081-0/+10
| | | | | | | <%== x %> is syntactic sugar for <%= raw(x) %> Signed-off-by: Michael Koziarski <michael@koziarski.com> [#5918 status:committed]
* Fix problems trying to functional test AC::Metal controllersSantiago Pastorino2010-11-061-0/+7
| | | | [#5393 state:committed]
* Correctly handle the case of an API response that returns a hash by treating ↵Chris Eppstein2010-11-061-0/+16
| | | | a single hash argument as the resource instead of as options.
* Reset assert_template instance variables between requests [#5832 state:resolved]Andrew White2010-10-181-0/+8
|
* in regexps, the dot in a character class is not a metacharacterXavier Noria2010-10-151-1/+1
|
* Remove :cache => true on lookup templates initialization.José Valim2010-10-141-10/+1
|
* render :once should consider the current controller prefix.José Valim2010-10-141-7/+30
|
* Return a valid empty JSON on successful PUT and DELETE requests. [#5199 ↵Szymon Nowak2010-10-121-0/+19
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Use identifiers for template equality.José Valim2010-10-101-9/+8
|
* Add support to render :once.José Valim2010-10-101-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 standalonewycats2010-10-101-0/+15
|
* Deprecate old template handler API. Remove old handlers.José Valim2010-10-102-21/+21
|
* Allow cache to be temporarily disabled through lookup_context.José Valim2010-10-071-1/+12
|
* render :template => 'foo/bar.json' now works as it should.José Valim2010-10-072-3/+29
|
* fixing a few test warningsAaron Patterson2010-10-041-2/+2
|
* moving fake model to the correct fileAaron Patterson2010-10-031-13/+0
|
* Move ETag and ConditionalGet logic from AD::Response to the middleware stack.José Valim2010-10-032-164/+0
|
* removing more duplicate code. :'(Aaron Patterson2010-10-011-13/+1
|
* fixing warnings with regexps on assert_matchAaron Patterson2010-10-011-2/+2
|
* removing more duplicate codeAaron Patterson2010-10-011-16/+0
|
* delete repeated codeAaron Patterson2010-10-011-18/+0
|
* use a method that actually existsAaron Patterson2010-10-011-1/+1
|
* fixing space errorAaron Patterson2010-09-291-1/+1
|
* We can't assign @view_context_class here, define super() in test instead if ↵Emilio Tagua2010-09-291-0/+1
| | | | we want to avoid warnings.
* _ is not a valid scheme name character, \w includes it and also is redundant ↵Emilio Tagua2010-09-291-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 Tagua2010-09-291-1/+5
|
* Merge remote branch 'miloops/warnings'José Valim2010-09-298-4/+20
|\
| * Remove methods to avoid warnings.Emilio Tagua2010-09-281-0/+2
| |
| * Redefine duplicated test name.Emilio Tagua2010-09-281-1/+1
| |
| * Remove more warnings on AP.Emilio Tagua2010-09-281-1/+1
| |
| * Define @title to avoid warnings.Emilio Tagua2010-09-281-0/+4
| |
| * Use instance_variable_defined? instead instance_variable_get in tests.Emilio Tagua2010-09-281-2/+2
| |
| * Initialize ivars in tests.Emilio Tagua2010-09-283-0/+3
| |
| * Remove more warnings by initializing variables in test.Emilio Tagua2010-09-281-0/+6
| |
| * Remove more warnings: no need to define attr_accessor if already exists. ↵Emilio Tagua2010-09-281-0/+1
| | | | | | | | Initialize ivar.
* | renderer calls object.to_json when rendering :json => object [#5655 ↵Diego Carrion2010-09-271-0/+13
|/ | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Rename duplicated test name.Emilio Tagua2010-09-271-1/+1
|
* Fix indentation.Emilio Tagua2010-09-271-19/+18
|
* Use parentheses when using assert_match followed by a regexp to avoid warnings.Emilio Tagua2010-09-277-24/+24
|
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-266-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' Marjan2010-09-251-0/+16
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make redirect_to accept blocks [#5643 state:resolved]Nando Vieira2010-09-241-0/+38
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Exception handling more readableThiago Pradi2010-09-191-8/+8
| | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* removing some warningsAaron Patterson2010-09-182-6/+6
|
* Fix header capitalization by explicitly upcasing first letter of every word, ↵Maxim Chernyak2010-09-181-0/+11
| | | | and avoiding capitalize. [#5636 state:resolved]
* get csrf_meta_tag back to the generated layout in deference to existing ↵Xavier Noria2010-09-141-1/+1
| | | | printed material, chomp also the generated HTML to be faithful to the output before the refactor
* added block arguments to ActionController::Metal#useCollin Miller2010-09-121-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