aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Added accessor methods for Date headerarvida2011-10-311-0/+14
| |
* | Simplify regexpAndrew White2012-02-171-1/+1
| |
* | Fix ActionDispatch::Static to serve files with unencoded PCHARAndrew White2012-02-171-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 unescapingSergey Nartimov2012-02-161-1/+1
| |
* | Merge pull request #3305 from cjolly/request_filtered_envJeremy Kemper2012-02-131-1/+1
|\ \ | | | | | | Exclude rack.request.form_vars from request.filtered_env
| * | Exclude rack.request.form_vars from request.filtered_envChad Jolly2012-01-181-1/+1
| | |
* | | Fix GH #4720. Routing problem with nested namespace and already camelized ↵kennyj2012-02-101-0/+5
| | | | | | | | | | | | controller option.
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-091-3/+3
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: activerecord/lib/active_record/relation/query_methods.rb
| * | | Stop referring to Atom as "ATOM"Tom Stuart2012-02-051-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 documentationTom Stuart2012-02-051-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.
* | | | Fix match docsRafael Mendonça França2012-02-071-1/+1
| | | |
* | | | Fixed force_ssl redirects to include original query paramsRyan McGeary2012-02-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `ActionController.force_ssl` redirects http URLs to their https equivalent; however, when a URL contains a query string, the resulting redirect lacked the original query string. Conflicts: actionpack/lib/action_controller/metal/force_ssl.rb
* | | | Merge pull request #2490 from gsterndale/x_forwarded_for_orderJosé Valim2012-02-071-1/+1
|\ \ \ \ | | | | | | | | | | The first IP address in the X-Forwarded-For header is the originating IP
| * | | | The first IP address in the X-Forwarded-For header is the originating IPGreg Sterndale2012-02-071-1/+1
| | | | |
* | | | | Merge pull request #2632 from gsterndale/replace_trusted_proxiesJosé Valim2012-02-071-4/+6
|\ \ \ \ \ | | | | | | | | | | | | Trusted proxies are configurable
| * | | | | Trusted proxies is replaced with a Regexp or appended to with a StringGreg Sterndale2012-02-071-4/+6
| |/ / / /
* / / / / Correctly handle single media with q value. Fixes #736.Scott W. Bradley2012-02-061-1/+3
|/ / / /
* | | | Fix url_for method's behavior when it is called with :controller option ↵kennyj2012-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | which starts with "/" from multiple nested controller. Closes #3864
* | | | Note the ways #match may be calledJeremy Kemper2012-02-051-0/+3
| | | |
* | | | Revert "Deprecated multi args to http route methods"Jeremy Kemper2012-02-051-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Too painful to lose the compact shorthand form! This reverts commit e848c52535fa0f9488cdbdb3f1cedc7c7c02d643. Conflicts: actionpack/lib/action_dispatch/routing/mapper.rb
* | | | Fix GH #4873. Allow swapping middleware of same classkennyj2012-02-041-2/+3
|/ / /
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-011-2/+2
|\ \ \
| * | | Fixing some double quotes that should be single quotesCarol Nichols2012-01-291-2/+2
| | | |