aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/new_base/middleware_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Make actionpack frozen string friendlyKir Shatrov2017-07-241-1/+3
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* modernizes hash syntax in actionpackXavier Noria2016-08-061-2/+2
|
* applies new string literal convention in actionpack/testXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Fix another rack SPEC violationAaron Patterson2015-08-251-1/+1
|
* Removing old helper that was necessary for compatibility with Ruby 1.8.xThiago Pradi2015-02-221-1/+1
|
* cleanup, remove trailing whitespace within actionpackYves Senn2012-10-271-2/+2
|
* 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
* 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
* Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack ↵wycats2010-03-191-1/+1
| | | | response was a String.
* File extra test folders into controller, dispatch, or templateJoshua Peek2009-10-031-0/+77