Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Revert "Return an actual boolean from xml_http_request?" | Xavier Noria | 2012-03-25 | 1 | -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 Pope | 2012-03-23 | 1 | -1/+1 | |
| | ||||||
* | Fix secure cookies when there are more than one space before the secure | Rafael Mendonça França | 2012-03-19 | 1 | -1/+1 | |
| | | | | keyword | |||||
* | Remove exclude option from ActionDispatch::SSL | Rafael Mendonça França | 2012-03-19 | 1 | -7/+0 | |
| | ||||||
* | Whitespaces :scissors: | Rafael Mendonça França | 2012-03-17 | 1 | -1/+1 | |
| | ||||||
* | Some refactoring and update ActionDispatch::SSL code to use the Rack 1.4.x | Rafael Mendonça França | 2012-03-17 | 1 | -23/+13 | |
| | ||||||
* | Rack::SSL -> ActionDispatch::SSL | Rafael Mendonça França | 2012-03-17 | 1 | -0/+87 | |
| | ||||||
* | Add missing require | Santiago Pastorino | 2012-03-17 | 1 | -0/+1 | |
| | ||||||
* | Remove unused require | Santiago Pastorino | 2012-03-17 | 1 | -1/+0 | |
| | ||||||
* | strip null bytes from Location header as well | Brian Lopez | 2012-03-15 | 1 | -1/+1 | |
| | | | | add tests for stripping \r\n chars since that's already happening | |||||
* | Merge pull request #5337 from mreinsch/static_invalid_byte_sequence | Aaron Patterson | 2012-03-15 | 1 | -0/+1 | |
|\ | | | | | fix ArgumentError being raised in case of invalid byte sequences | |||||
| * | fix ArgumentError being raised in case of invalid byte sequences | Michael Reinsch | 2012-03-08 | 1 | -0/+1 | |
| | | ||||||
* | | Add ActionController::HTTP | Santiago Pastorino | 2012-03-14 | 1 | -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 present | Carlos Antonio da Silva | 2012-03-06 | 1 | -8/+6 | |
| | ||||||
* | Added parsing of arbitrary media type parameters. | Steve Klabnik | 2012-03-05 | 1 | -3/+3 | |
| | | | | | | Based on #4918. Related to #4127. | |||||
* | Route root helper shortcut | Brian Cardarella | 2012-03-03 | 1 | -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 Pastorino | 2012-03-03 | 1 | -1/+1 | |
| | | | | | | that info Closes #5245 | |||||
* | don't pass unnecessary argument | Sergey Nartimov | 2012-03-02 | 1 | -2/+2 | |
| | ||||||
* | Optimize url helpers. | Sergey Nartimov + José Valim | 2012-03-02 | 2 | -11/+13 | |
| | ||||||
* | Optimize path helpers. | José Valim | 2012-03-02 | 4 | -13/+67 | |
| | ||||||
* | Tap, tap goes the middleware | Jeremy Kemper | 2012-02-29 | 1 | -4/+1 | |
| | ||||||
* | Merge pull request #5219 from ↵ | Aaron Patterson | 2012-02-29 | 2 | -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 are | Matt Fawcett | 2012-02-24 | 2 | -4/+5 | |
| | | | | | | | | constraints on the querystring. Issue #2781 | |||||
* | | reduced localhost check to two method calls | Aaron Patterson | 2012-02-28 | 1 | -2/+3 | |
| | | ||||||
* | | remove unnecessary memcache equire in ActionDispatch::Session::CacheStore | Brian Durand | 2012-02-28 | 1 | -1/+0 | |
| | | ||||||
* | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-25 | 1 | -1/+1 | |
|\ \ | | | | | | | | | | | | | Conflicts: actionmailer/CHANGELOG.md | |||||
| * | | Fix typo in match :to docs | Justin Woodbridge | 2012-02-23 | 1 | -1/+1 | |
| | | | ||||||
* | | | consistently mention first patch, then put | Xavier Noria | 2012-02-24 | 2 | -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 Noria | 2012-02-24 | 2 | -10/+8 | |
| |/ |/| | | | | | the update action of resources | |||||
* | | Avoid inspecting the whole route set, closes #1525 | José Valim | 2012-02-23 | 1 | -0/+6 | |
| | | ||||||
* | | Merge pull request #5084 from johndouthat/patch-1 | Aaron Patterson | 2012-02-22 | 1 | -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 #5022 | johndouthat | 2012-02-18 | 1 | -2/+1 | |
| |/ | ||||||
* | | Fix routes inspection order | Rafael Mendonça França | 2012-02-22 | 1 | -2/+2 | |
| | | ||||||
* | | Merge pull request #5130 from dlee/revised_patch_verb | Xavier Noria | 2012-02-22 | 5 | -67/+106 | |
|\ \ | | | | | | | Add config.default_method_for_update to support PATCH | |||||
| * | | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 5 | -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 option | Bogdan Gusiev | 2012-02-22 | 1 | -3/+9 | |
|/ / | ||||||
* | | Merge pull request #5082 from ↵ | Aaron Patterson | 2012-02-20 | 1 | -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 Bryant | 2012-02-18 | 1 | -1/+2 | |
| |/ | | | | | | | a hash | |||||
* / | Integration tests support the OPTIONS http method | Jeremy Kemper | 2012-02-19 | 1 | -1/+7 | |
|/ | ||||||
* | Merge pull request #3479 from arvida/ensure-date-header-on-expires-in | José Valim | 2012-02-18 | 1 | -0/+14 | |
|\ | | | | | Ensure Date header on expires_in | |||||
| * | Added accessor methods for Date header | arvida | 2011-10-31 | 1 | -0/+14 | |
| | | ||||||
* | | Simplify regexp | Andrew White | 2012-02-17 | 1 | -1/+1 | |
| | | ||||||
* | | Fix ActionDispatch::Static to serve files with unencoded PCHAR | Andrew White | 2012-02-17 | 1 | -1/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | RFC 3986[1] allows sub-delim characters in path segments unencoded, however Rack::File requires them to be encoded so we use URI's unescape method to leave them alone and then escape them again. Also since the path gets passed to Dir[] we need to escape any glob characters in the path. [1]: http://www.ietf.org/rfc/rfc3986.txt | |||||
* | | escape static file path to prevent double unescaping | Sergey Nartimov | 2012-02-16 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #3305 from cjolly/request_filtered_env | Jeremy Kemper | 2012-02-13 | 1 | -1/+1 | |
|\ \ | | | | | | | Exclude rack.request.form_vars from request.filtered_env | |||||
| * | | Exclude rack.request.form_vars from request.filtered_env | Chad Jolly | 2012-01-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | Fix GH #4720. Routing problem with nested namespace and already camelized ↵ | kennyj | 2012-02-10 | 1 | -0/+5 | |
| | | | | | | | | | | | | controller option. | |||||
* | | | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-02-09 | 1 | -3/+3 | |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/relation/query_methods.rb | |||||
| * | | | Stop referring to Atom as "ATOM" | Tom Stuart | 2012-02-05 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | $ curl -s http://www.ietf.org/rfc/rfc4287 | grep -io ATOM | sort | uniq -c 582 atom 175 Atom | |||||
| * | | | Remove assert_select_feed from assert_select_encoded documentation | Tom Stuart | 2012-02-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This documentation came from the assert_select plugin, but the assert_select_feed method was omitted when the plugin was merged into Rails in 3142502964f94d6144312ae2c368b4c4589fa25a. |