aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-011-1/+1
|\
| * :success includes the whole 200 range, not just 200.Erich Menge2012-04-011-1/+1
| | | | | | | | | | # File lib/rack/response.rb, line 114 114: def successful?; @status >= 200 && @status < 300; end
* | Remove not needed requiresSantiago Pastorino2012-03-311-1/+0
| |
* | Remove the leading \n added by textarea on assert_selectSantiago Pastorino2012-03-301-0/+1
| |
* | adds delegetion for eof? to AD::Http::UploadedFileJens Fahnenbruck2012-03-271-1/+1
|/ | | | | if you want to read the file you may need to ask if there is something to read from
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-271-0/+19
|\
| * add missing do [ci skip]Vijay Dev2012-03-271-1/+1
| |
| * added shallow_prefix option description in documantationLukasz Sarnacki2012-03-271-0/+19
| | | | | | | | It is in response for confusion in issue #5301
* | Return the same session data object when setting session idCarlos Antonio da Silva2012-03-261-1/+2
| |
* | Allow a defining custom member field on resourcesJamie Macey2012-03-251-4/+5
| | | | | | | | | | | | | | | | | | | | By default, resources routes are created with :resource/:id. A model defining to_param can make prettier urls by using something more readable than an integer ID, but since the route picks it up as :id you wind up with awkward User.find_by_username(params[:id]) calls. By overriding the key to be used in @request.params you can be more obvious in your intent.
* | Revert "Return an actual boolean from xml_http_request?"Xavier Noria2012-03-251-1/+1
|/ | | | | | | | | | | | | | Reason: This commit changes code that was committed some year and a half ago. The original code is an ordinary predicate that delegates straight to a boolean operator with no further unnecessaru adorments, as clearly explained in #5329. This change also may confuse users who may now believe they can rely now on singletons, while predicates in Rails rely on standard Ruby semantics for boolean values and guarantee no singletons whatsover. This reverts commit 6349791d5aaf652631b29f1371701fc2985fda83.
* Return an actual boolean from xml_http_request?Tim Pope2012-03-231-1/+1
|
* Fix secure cookies when there are more than one space before the secureRafael Mendonça França2012-03-191-1/+1
| | | | keyword
* Remove exclude option from ActionDispatch::SSLRafael Mendonça França2012-03-191-7/+0
|
* Whitespaces :scissors:Rafael Mendonça França2012-03-171-1/+1
|
* Some refactoring and update ActionDispatch::SSL code to use the Rack 1.4.xRafael Mendonça França2012-03-171-23/+13
|
* Rack::SSL -> ActionDispatch::SSLRafael Mendonça França2012-03-171-0/+87
|
* Add missing requireSantiago Pastorino2012-03-171-0/+1
|
* Remove unused requireSantiago Pastorino2012-03-171-1/+0
|
* strip null bytes from Location header as wellBrian Lopez2012-03-151-1/+1
| | | | add tests for stripping \r\n chars since that's already happening
* Merge pull request #5337 from mreinsch/static_invalid_byte_sequenceAaron Patterson2012-03-151-0/+1
|\ | | | | fix ArgumentError being raised in case of invalid byte sequences
| * fix ArgumentError being raised in case of invalid byte sequencesMichael Reinsch2012-03-081-0/+1
| |
* | Add ActionController::HTTPSantiago Pastorino2012-03-141-2/+7
|/ | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino]
* Refactor AD::UploadedFile, and raise sooner if tempfile is not presentCarlos Antonio da Silva2012-03-061-8/+6
|
* Added parsing of arbitrary media type parameters.Steve Klabnik2012-03-051-3/+3
| | | | | | Based on #4918. Related to #4127.
* Route root helper shortcutBrian Cardarella2012-03-031-0/+5
| | | | Allow the root route helper to accept just a string
* Turn off verbose mode of rack-cache, we still have X-Rack-Cache to check ↵Santiago Pastorino2012-03-031-1/+1
| | | | | | that info Closes #5245
* don't pass unnecessary argumentSergey Nartimov2012-03-021-2/+2
|
* Optimize url helpers.Sergey Nartimov + José Valim2012-03-022-11/+13
|
* Optimize path helpers.José Valim2012-03-024-13/+67
|
* Tap, tap goes the middlewareJeremy Kemper2012-02-291-4/+1
|
* Merge pull request #5219 from ↵Aaron Patterson2012-02-292-4/+5
|\ | | | | | | | | mattfawcett/2781-fix-querystring-route-constraint-for-testing Fix for #2781
| * Fix the assert_recognizes test method so that it works when there areMatt Fawcett2012-02-242-4/+5
| | | | | | | | constraints on the querystring. Issue #2781
* | reduced localhost check to two method callsAaron Patterson2012-02-281-2/+3
| |
* | remove unnecessary memcache equire in ActionDispatch::Session::CacheStoreBrian Durand2012-02-281-1/+0
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-251-1/+1
|\ \ | | | | | | | | | | | | Conflicts: actionmailer/CHANGELOG.md
| * | Fix typo in match :to docsJustin Woodbridge2012-02-231-1/+1
| | |
* | | consistently mention first patch, then putXavier Noria2012-02-242-8/+8
| | | | | | | | | | | | | | | | | | There was a mix, sometimes patch first, sometimes put first. Use always patch first, since this is going to be the primary verb for updates.
* | | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-242-10/+8
| |/ |/| | | | | the update action of resources
* | Avoid inspecting the whole route set, closes #1525José Valim2012-02-231-0/+6
| |
* | Merge pull request #5084 from johndouthat/patch-1Aaron Patterson2012-02-221-2/+1
|\ \ | | | | | | Remove reference to rails_legacy_mapper, which isn't compatible with 3.2...
| * | Remove reference to rails_legacy_mapper, which isn't compatible with 3.2 #5022johndouthat2012-02-181-2/+1
| |/
* | Fix routes inspection orderRafael Mendonça França2012-02-221-2/+2
| |
* | Merge pull request #5130 from dlee/revised_patch_verbXavier Noria2012-02-225-67/+106
|\ \ | | | | | | Add config.default_method_for_update to support PATCH
| * | Add config.default_method_for_update to support PATCHDavid Lee2012-02-225-67/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
* | | AS::Callbacks: deprecate rescuable optionBogdan Gusiev2012-02-221-3/+9
|/ /
* | Merge pull request #5082 from ↵Aaron Patterson2012-02-201-1/+2
|\ \ | | | | | | | | | | | | willbryant/assigns_should_not_stringify_values_master assigns(:foo) should not convert @foo's keys to strings if it happens to be a hash
| * | assigns(:foo) should not convert @foo's keys to strings if it happens to be ↵Will Bryant2012-02-181-1/+2
| |/ | | | | | | a hash
* / Integration tests support the OPTIONS http methodJeremy Kemper2012-02-191-1/+7
|/
* Merge pull request #3479 from arvida/ensure-date-header-on-expires-inJosé Valim2012-02-181-0/+14
|\ | | | | Ensure Date header on expires_in