aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base
Commit message (Collapse)AuthorAgeFilesLines
...
* Body... wanna *stream* my body? Body... such a thrill my body!José Valim2011-04-181-0/+62
| | | | | Added stream as class level method to make it explicit when to stream. Render also accepts :stream as option.
* switch to using comments to comment thingsAaron Patterson2011-04-151-2/+1
|
* render :once, YAGNI.José Valim2011-04-151-86/+0
|
* removes the RJS template handlerXavier Noria2011-04-132-15/+10
|
* removes support for render :updateXavier Noria2011-04-131-71/+0
|
* Implicit actions named not_implemented can be renderedSantiago Pastorino2011-04-021-2/+11
|
* Make action_method? public and change implicit rendering to override it instead.José Valim2011-03-301-0/+5
|
* Use Mime::Type references.José Valim2011-02-081-0/+9
|
* cleaning up some warnings on 1.9.3Aaron Patterson2011-02-071-1/+1
|
* Speed up template inheritance and remove template inheritance optionwycats2010-12-261-12/+0
|
* all tests passartemave2010-12-261-4/+4
|
* #948 make template inheritance optionalartemave2010-12-261-0/+11
|
* #948 template_inheritanceartemave2010-12-262-2/+66
|
* realigns a series of hash arrowsXavier Noria2010-11-211-10/+10
|
* 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]
* 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
|
* 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
|
* 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
|
* Move ETag and ConditionalGet logic from AD::Response to the middleware stack.José Valim2010-10-031-46/+0
|
* 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
* Fixed routes to use new API in a few more actionpack testsPiotr Sarnacki2010-09-054-17/+47
|
* Removed deprecated RouteSet API, still many tests failPiotr Sarnacki2010-09-051-0/+3
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-147-25/+25
| | | | 's/[ \t]*$//' -i {} \;)
* Fix controller_name for non default controller paths [#4901 state:resolved]knapo2010-06-231-0/+38
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix case when rendering a partial inside RJS with inherited layout [#4786 ↵José Valim2010-06-071-0/+3
| | | | state:resolved]
* Add :only and :except to controllers MiddlewareStack. This allowsJosé Valim2010-05-301-11/+22
| | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end
* Use better assertion methods for testingNeeraj Singh2010-05-191-2/+2
| | | | | | [#4645 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added test get to js should have a header with content-type text/javascriptSantiago Pastorino2010-04-161-1/+8
|
* Tidy up a bit this test fileSantiago Pastorino2010-04-161-7/+2
|
* Revert "Add test case which check content type when rendering rjs" partial ↵Santiago Pastorino2010-04-161-9/+1
| | | | | | in html template" rendering rjs in html doesn't make sense, it would just output javascript into the template, no script tag This reverts commit dc251389d1ab4303b80a22642f4241940b73cbe7.
* Add test case which check content type when rendering rjs partial in html ↵Stanko Alexander2010-04-131-1/+9
| | | | | | template Signed-off-by: wycats <wycats@gmail.com>
* Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack ↵wycats2010-03-192-3/+5
| | | | response was a String.
* Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-191-2/+13
| | | | that they shouldn't be further modified.
* remove duplicated self.view_paths assingment on controller tests [#4206 ↵Santiago Pastorino2010-03-181-2/+2
| | | | | | state:commited] Signed-off-by: wycats <wycats@gmail.com>
* Return a valid Rack response from bare ActionController::MetalCarlhuda2010-03-181-0/+27
|
* Fix rendering of HTML partials inside JS templates [#4197 status:resolved]José Valim2010-03-161-0/+7
|
* Add tests for lookup context.José Valim2010-03-111-1/+1
|
* Add support for compile-time <%= raw %>Yehuda Katz2010-01-311-22/+34
|
* deOMGifying Railties, Active Support, and Action PackMikel Lindsaar2010-01-313-26/+26
|
* Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-191-1/+1
| | | | nil!)
* Fix failing test.José Valim2010-01-191-2/+2
|
* Clear out AS callback method pollution in AC::Base.action_methodsJoshua Peek2010-01-171-1/+27
|
* test-unit 2 compat: assert_raise doesn't support regexp second arg to match ↵Jeremy Kemper2009-11-101-1/+1
| | | | exception message
* Update MetalTest for constant scoping change in 1.9Yehuda Katz2009-10-151-2/+2
|
* Fix test to correctly handle 1.9 Array#to_s behaviorYehuda Katz2009-10-151-1/+1
|