aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal.rb
Commit message (Collapse)AuthorAgeFilesLines
* fixes stack level too deep exception on action named 'status' returning ↵Christiaan Van den Poel2014-05-151-0/+4
| | | | 'head :ok'
* Update AC::Metal documentation example [ci skip]Yury Velikanau2014-04-151-1/+2
| | | | Include proper module since AV was extracted form AP as mentioned in #14659.
* Increase readability of ternary statement in build methodbuddhamagnet2013-04-201-2/+1
|
* replace match with get verb in ActionController::MetalGaurish Sharma2013-04-161-1/+1
|
* Missing or unneeded require extract_optionsAkira Matsuda2013-02-011-0/+1
|
* Multiple changes to 1,9 hash syntaxAvnerCohen2012-10-271-2/+2
|
* removes unnecessary selfXavier Noria2012-09-171-1/+1
|
* revises RDoc in AC::Metal [ci skip]Xavier Noria2012-09-171-14/+7
|
* removes unnecessary selfXavier Noria2012-09-171-1/+1
|
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
|
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
|
* adding a buffered stream to the response objectAaron Patterson2012-07-291-1/+1
|
* Use performed? instead of checking for response_bodyCarlos Antonio da Silva2012-01-191-4/+4
| | | | | | * Check for performed? instead of response_body * Change performed? to return a boolean * Refactor AC::Metal#response_body= to reuse variable
* Do not deprecate performed.José Valim2012-01-191-0/+4
|
* refactor response_body= methodVasiliy Ermolovich2012-01-141-7/+1
| | | | response_to?(:each) returns false for strings in ruby 1.9, so there is no need for these checks
* Fix AC::Metal#response_body= to store same value on Ruby 1.8 and 1.9Akira Matsuda2011-11-071-1/+7
| | | | This was because String#respond_to?(:each) differs in 1.8 and 1.9
* make our constructor signature match the superclassAaron Patterson2011-04-171-1/+1
|
* Add docs for ActionController::Metal class methodsGabriel Horner2011-03-281-1/+5
|
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-041-7/+56
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/class_methods/join_dependency.rb activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb activerecord/lib/active_record/associations/has_many_association.rb activerecord/lib/active_record/associations/has_many_through_association.rb activerecord/lib/active_record/associations/has_one_association.rb activerecord/lib/active_record/associations/has_one_through_association.rb activerecord/lib/active_record/associations/through_association_scope.rb activerecord/lib/active_record/reflection.rb activerecord/test/cases/associations/has_many_through_associations_test.rb activerecord/test/cases/associations/has_one_through_associations_test.rb activerecord/test/cases/reflection_test.rb activerecord/test/cases/relations_test.rb activerecord/test/fixtures/memberships.yml activerecord/test/models/categorization.rb activerecord/test/models/category.rb activerecord/test/models/member.rb activerecord/test/models/reference.rb activerecord/test/models/tagging.rb
| * revises a metal exampleXavier Noria2011-02-021-4/+4
| |
| * copy-edits 2446b13Xavier Noria2011-02-021-14/+13
| |
| * Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-02-021-5/+55
| |\
| | * Provide documentation for ActionController::MetalBernerd Schaefer2011-02-021-5/+55
| |/ |/|
| * If I want to set respond_body to nil then itNeeraj Singh2011-01-251-1/+1
|/ | | | | | | should be nil and not [nil]. If anything other than nil then wrap it in array Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix a few bugs when trying to use Head standalonewycats2010-10-101-0/+5
|
* Fix tests on 1.9.2.José Valim2010-09-281-0/+1
|
* Initialize @_request and @_response.Emilio Tagua2010-09-271-1/+3
|
* added block arguments to ActionController::Metal#useCollin Miller2010-09-121-3/+3
| | | | | | | | | | | 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
* Ensure that env is always available in controllersPiotr Sarnacki2010-09-031-1/+5
|
* cleanup of ActionController::Metal inline documentationJoost Baaij2010-08-261-15/+13
|
* Fixes for "router" and "routes" terminologyWincent Colaiuta2010-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit f7ba614c2db improved the internal consistency of the different means of accessing routes, but it introduced some problems at the level of code comments and user-visible strings. This commit applies fixes on three levels: Firstly, we remove or replace grammatically invalid constructs such as "a routes" or "a particular routes". Secondly, we make sure that we always use "the router DSL" or "the router syntax", because this has always been the official terminology. Finally, we make sure that we only use "routes" when referring to the application-specific set of routes that are defined in the "config/routes.rb" file, we use "router" when referring on a more abstract level to "the code in Rails used to handle routing", and we use "routing" when we need an adjective to apply to nouns such as "url_helpers. Again this is consistent with historical practice and other places in the documentation. Note that this is not a sweep over the entire codebase to ensure consistent usage of language; it is just a revision of the changes introduced in commit f7ba614c2db. Signed-off-by: Wincent Colaiuta <win@wincent.com> Signed-off-by: José Valim <jose.valim@gmail.com>
* Unify routes naming by renaming router to routesPiotr Sarnacki2010-07-021-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Fix controller_name for non default controller paths [#4901 state:resolved]knapo2010-06-231-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove a relic of #request being in RackDelegationwycats2010-06-191-2/+9
|
* Add :only and :except to controllers MiddlewareStack. This allowsJosé Valim2010-05-301-3/+45
| | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end
* Return a valid Rack response from bare ActionController::MetalCarlhuda2010-03-181-1/+7
|
* Eliminate warnings for AM on 1.8wycats2010-03-161-1/+5
|
* Simplify the action endpoint:Carlhuda2010-03-081-25/+9
| | | | | | | * Remove ActionEndpoint in favor of passing a block to MiddlewareStack * Always create a Request; the performance win of RackDelegation is around the response; the Request object hit is limited to a single object allocation * #dispatch takes a Request
* Add missing super call in AC::Metal. [#4085 status:resolved]José Valim2010-03-031-0/+1
|
* Update AP to start locking down a public API. This work is parallel to some ↵Yehuda Katz2010-02-161-0/+8
| | | | docs I'm working on.
* Convert to class_attributeJeremy Kemper2010-02-011-2/+7
|
* Expose last controller in rack env["action_controller.instance"]Joshua Peek2010-01-201-0/+1
|
* controller_path is required by ActionView, so move it up to ↵José Valim2009-12-311-15/+0
| | | | AbstractController and refactor AbstractController::Layouts.
* Silence some trivial warnings: shadowed local vars, indentation mismatchesJeremy Kemper2009-12-281-1/+1
|
* AD::StatusCodes support is now part of rackJoshua Peek2009-12-221-1/+1
|
* AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵Yehuda Katz2009-12-201-0/+5
| | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency)
* Rename RackConvenience => RackDelegationJoshua Peek2009-12-201-3/+3
|
* Renamed Redirector to Redirecting (its a module, not a class)David Heinemeier Hansson2009-12-201-1/+1
|
* Update AC::Middleware to play better with the normal AC::Metal stack. This ↵Yehuda Katz2009-11-051-3/+3
| | | | required stopping to use #call for non-rack-related stuff
* Start rewriting some internal tests to use the new routing dslJoshua Peek2009-10-201-0/+4
|