Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fixes stack level too deep exception on action named 'status' returning ↵ | Christiaan Van den Poel | 2014-05-15 | 1 | -0/+4 | |
| | | | | 'head :ok' | |||||
* | Update AC::Metal documentation example [ci skip] | Yury Velikanau | 2014-04-15 | 1 | -1/+2 | |
| | | | | Include proper module since AV was extracted form AP as mentioned in #14659. | |||||
* | Increase readability of ternary statement in build method | buddhamagnet | 2013-04-20 | 1 | -2/+1 | |
| | ||||||
* | replace match with get verb in ActionController::Metal | Gaurish Sharma | 2013-04-16 | 1 | -1/+1 | |
| | ||||||
* | Missing or unneeded require extract_options | Akira Matsuda | 2013-02-01 | 1 | -0/+1 | |
| | ||||||
* | Multiple changes to 1,9 hash syntax | AvnerCohen | 2012-10-27 | 1 | -2/+2 | |
| | ||||||
* | removes unnecessary self | Xavier Noria | 2012-09-17 | 1 | -1/+1 | |
| | ||||||
* | revises RDoc in AC::Metal [ci skip] | Xavier Noria | 2012-09-17 | 1 | -14/+7 | |
| | ||||||
* | removes unnecessary self | Xavier Noria | 2012-09-17 | 1 | -1/+1 | |
| | ||||||
* | load active_support/core_ext/class/attribute in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 | |
| | ||||||
* | load active_support/core_ext/object/blank in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 | |
| | ||||||
* | adding a buffered stream to the response object | Aaron Patterson | 2012-07-29 | 1 | -1/+1 | |
| | ||||||
* | Use performed? instead of checking for response_body | Carlos Antonio da Silva | 2012-01-19 | 1 | -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é Valim | 2012-01-19 | 1 | -0/+4 | |
| | ||||||
* | refactor response_body= method | Vasiliy Ermolovich | 2012-01-14 | 1 | -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.9 | Akira Matsuda | 2011-11-07 | 1 | -1/+7 | |
| | | | | This was because String#respond_to?(:each) differs in 1.8 and 1.9 | |||||
* | make our constructor signature match the superclass | Aaron Patterson | 2011-04-17 | 1 | -1/+1 | |
| | ||||||
* | Add docs for ActionController::Metal class methods | Gabriel Horner | 2011-03-28 | 1 | -1/+5 | |
| | ||||||
* | Merge branch 'master' into nested_has_many_through | Jon Leighton | 2011-03-04 | 1 | -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 example | Xavier Noria | 2011-02-02 | 1 | -4/+4 | |
| | | ||||||
| * | copy-edits 2446b13 | Xavier Noria | 2011-02-02 | 1 | -14/+13 | |
| | | ||||||
| * | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-02-02 | 1 | -5/+55 | |
| |\ | ||||||
| | * | Provide documentation for ActionController::Metal | Bernerd Schaefer | 2011-02-02 | 1 | -5/+55 | |
| |/ |/| | ||||||
| * | If I want to set respond_body to nil then it | Neeraj Singh | 2011-01-25 | 1 | -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 standalone | wycats | 2010-10-10 | 1 | -0/+5 | |
| | ||||||
* | Fix tests on 1.9.2. | José Valim | 2010-09-28 | 1 | -0/+1 | |
| | ||||||
* | Initialize @_request and @_response. | Emilio Tagua | 2010-09-27 | 1 | -1/+3 | |
| | ||||||
* | added block arguments to ActionController::Metal#use | Collin Miller | 2010-09-12 | 1 | -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 controllers | Piotr Sarnacki | 2010-09-03 | 1 | -1/+5 | |
| | ||||||
* | cleanup of ActionController::Metal inline documentation | Joost Baaij | 2010-08-26 | 1 | -15/+13 | |
| | ||||||
* | Fixes for "router" and "routes" terminology | Wincent Colaiuta | 2010-07-03 | 1 | -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 routes | Piotr Sarnacki | 2010-07-02 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Fix controller_name for non default controller paths [#4901 state:resolved] | knapo | 2010-06-23 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Remove a relic of #request being in RackDelegation | wycats | 2010-06-19 | 1 | -2/+9 | |
| | ||||||
* | Add :only and :except to controllers MiddlewareStack. This allows | José Valim | 2010-05-30 | 1 | -3/+45 | |
| | | | | | | | | you to do the following: class PostsController < ApplicationController use AutheMiddleware, :except => [:index, :show] end | |||||
* | Return a valid Rack response from bare ActionController::Metal | Carlhuda | 2010-03-18 | 1 | -1/+7 | |
| | ||||||
* | Eliminate warnings for AM on 1.8 | wycats | 2010-03-16 | 1 | -1/+5 | |
| | ||||||
* | Simplify the action endpoint: | Carlhuda | 2010-03-08 | 1 | -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é Valim | 2010-03-03 | 1 | -0/+1 | |
| | ||||||
* | Update AP to start locking down a public API. This work is parallel to some ↵ | Yehuda Katz | 2010-02-16 | 1 | -0/+8 | |
| | | | | docs I'm working on. | |||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -2/+7 | |
| | ||||||
* | Expose last controller in rack env["action_controller.instance"] | Joshua Peek | 2010-01-20 | 1 | -0/+1 | |
| | ||||||
* | controller_path is required by ActionView, so move it up to ↵ | José Valim | 2009-12-31 | 1 | -15/+0 | |
| | | | | AbstractController and refactor AbstractController::Layouts. | |||||
* | Silence some trivial warnings: shadowed local vars, indentation mismatches | Jeremy Kemper | 2009-12-28 | 1 | -1/+1 | |
| | ||||||
* | AD::StatusCodes support is now part of rack | Joshua Peek | 2009-12-22 | 1 | -1/+1 | |
| | ||||||
* | AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵ | Yehuda Katz | 2009-12-20 | 1 | -0/+5 | |
| | | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency) | |||||
* | Rename RackConvenience => RackDelegation | Joshua Peek | 2009-12-20 | 1 | -3/+3 | |
| | ||||||
* | Renamed Redirector to Redirecting (its a module, not a class) | David Heinemeier Hansson | 2009-12-20 | 1 | -1/+1 | |
| | ||||||
* | Update AC::Middleware to play better with the normal AC::Metal stack. This ↵ | Yehuda Katz | 2009-11-05 | 1 | -3/+3 | |
| | | | | required stopping to use #call for non-rack-related stuff | |||||
* | Start rewriting some internal tests to use the new routing dsl | Joshua Peek | 2009-10-20 | 1 | -0/+4 | |
| |