aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
...
* | | make sure appropriate headers are set and deletedAaron Patterson2012-07-291-0/+11
| | |
* | | added live responses which can be written and read in separate threadsAaron Patterson2012-07-294-0/+103
| | |
* | | ActionController::DataStreaming::FileBody doesn't respond to #close.Rafael Mendonça França2012-07-291-1/+1
| | |
* | | flushing output should write to the stream rather than mutating the response ↵Aaron Patterson2012-07-293-12/+16
|/ / | | | | | | object
* | remove dead testAaron Patterson2012-07-291-4/+0
| |
* | adding a buffered stream to the response objectAaron Patterson2012-07-294-3/+93
| |
* | initialize ivars, refactor recycle! to call initializeAaron Patterson2012-07-292-9/+3
| |
* | Remove warning renaming the test classes to use the test conventionRafael Mendonça França2012-07-292-2/+2
| |
* | Remove deprecation warning, since scoped waas deprecatedRafael Mendonça França2012-07-291-1/+1
| |
* | issue a warning when we cannot construct a controllerAaron Patterson2012-07-281-2/+10
| |
* | this test is not a controller test, so switch to AS::TCAaron Patterson2012-07-281-1/+1
| |
* | fix failure test 'test_can_wait_until_commit(ResponseTest)' in actionpackVladimir Strakhov2012-07-281-2/+2
| |
* | adds a missing require from Active SupportXavier Noria2012-07-281-0/+1
| | | | | | | | This file uses mattr_accessor.
* | threads can wait on responses to be committedAaron Patterson2012-07-273-1/+34
| |
* | * Do not convert digest auth strings to symbols. CVE-2012-3424Aaron Patterson2012-07-261-2/+2
| | | | | | | | | | Conflicts: actionpack/lib/action_controller/metal/http_authentication.rb
* | fix typo in documentationAnatoly Makarevich2012-07-261-1/+1
| |
* | Replace the flush parameter with a Hash.Lucas Mazza2012-07-242-13/+13
| |
* | Add CHANGELOG entrySantiago Pastorino2012-07-231-0/+2
| |
* | Remove ActionDispatch::Head middleware in favor of Rack::HeadSantiago Pastorino2012-07-234-29/+3
| | | | | | | | Closes #7110 there's more work to do on rack-cache issue 69
* | Fix build. Bump Journey requirements to 2.0.0.kennyj2012-07-241-1/+1
| |
* | Bump Journey requirements to 1.0.4Andrew White2012-07-231-1/+1
| | | | | | | | | | There are some Action Pack tests for regressions from 3.1 that require a later version of Journey to pass so bump to the current version.
* | Add one more test case to make sure that data attributes are beingRafael Mendonça França2012-07-221-0/+7
| | | | | | | | escaped
* | Merge pull request #7123 from nashby/data-in-optionsRafael Mendonça França2012-07-222-8/+15
|\ \ | | | | | | don't escape options in option_html_attributes method
| * | don't escape options in option_html_attributes methodVasiliy Ermolovich2012-07-222-8/+15
| |/ | | | | | | | | | | | | | | we don't need to escape values in this method as we pass these html attributes to `tag_options` method that handle escaping as well. it fixes the case when we want to pass html5 data options
* | Remove deprecation warningsCarlos Galdino + Rafael Mendonça França2012-07-212-2/+2
| |
* | Add back `:disable_with` and change deprecation horizon to 4.1Carlos Galdino + Rafael Mendonça França2012-07-215-5/+74
| |
* | Add back `:confirm` and change deprecation horizon to 4.1Carlos Galdino + Rafael Mendonça França2012-07-215-2/+144
|/
* copy-edits 9674d2cXavier Noria2012-07-211-2/+2
|
* Merge pull request #7100 from shigeya/fix_mime_responds_to_docXavier Noria2012-07-201-1/+2
|\ | | | | Clarification to doc of ActionController::MimeResponse.respond_to
| * Clarification to doc of ActionController::MimeResponse.respond_toShigeya Suzuki2012-07-191-1/+2
| | | | | | | | | | - #respond_to's documentation refer to .respond_to, but it was written as just <respond_to>. Added class name for clarification.
* | Merge pull request #7099 from f1sherman/sweeper-clean-up-if-exception-raisedRafael Mendonça França2012-07-202-2/+18
|\ \ | | | | | | Clean up Sweeper controller accessor when an Error is raised
| * | Clean up Sweeper controller accessor when an Error is raisedBrian John2012-07-202-2/+18
| |/
* | Don't assume resource param is :id when using shallow routesAndrew White2012-07-202-1/+15
| | | | | | | | | | Since #5581 added support for resources with custom params we should not assume that it is :id when using shallow resource routing.
* | Support constraints on resource custom params when nestingAndrew White2012-07-202-9/+24
|/ | | | | | | The Mapper looks for a :id constraint in the scope to see whether it should apply a constraint for nested resources. Since #5581 added support for resource params other than :id, we need to check for a constraint on the parent resource's param name and not assume it's :id.
* Remove `:confirm` in favor of `:data => { :confirm => 'Text' }` optionCarlos Galdino2012-07-185-55/+41
| | | | | | | | | This applies to the following helpers: `button_to` `button_tag` `image_submit_tag` `link_to` `submit_tag`
* add lazy look up in abstract controller's translate methodSergey Pchelincev2012-07-182-1/+20
|
* Common behavior with adding formats to lookup_context for TemplateRenderer ↵Dmitry Vorotilin2012-07-1812-4/+33
| | | | and PartialRenderer
* Add support for optional root segments containing slashesAndrew White2012-07-172-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Optional segments with a root scope need to have the leading slash outside of the parentheses, otherwise the generated url will be empty. However if the route has non-optional elements then the leading slash needs to remain inside the parentheses otherwise the generated url will have two leading slashes, e.g: Blog::Application.routes.draw do get '/(:category)', :to => 'posts#index', :as => :root get '/(:category)/author/:name', :to => 'posts#author', :as => :author end $ rake routes root GET /(:category)(.:format) posts#index author GET (/:category)/author/:name(.:format) posts#author This change adds support for optional segments that contain a slash, allowing support for urls like /page/2 for the root path, e.g: Blog::Application.routes.draw do get '/(page/:page)', :to => 'posts#index', :as => :root end $ rake routes root GET /(page/:page)(.:format) posts#index Fixes #7073
* Fix class_eval without __FILE__ and __LINE__.kennyj2012-07-181-1/+1
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-07-151-7/+4
|\
| * Updated with_routing example to 3.x syntax [ci skip]Wojciech Wnętrzak2012-07-131-7/+4
| |
* | add second t to overwrittenEvan Travers2012-07-121-2/+2
| | | | | | | | fixing a misspelling in the documentation
* | Fix code comment to reflect its intent.Selem Delul2012-07-111-1/+1
| |
* | Fix indentation.Piotr Sarnacki2012-07-111-4/+4
| |
* | Don't raise an error if http auth token isn't well formattedPiotr Sarnacki2012-07-112-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When someone sends malformed authorization header, like: Authorization: Token foobar given token should be just ignored and resource should not be authorized, instead of raising error. Before this patch controller would return 401 header only for well formed tokens, like: Authorization: Token token=foobar and would return 500 in former case.
* | Raise a helpful error message on #mount misuseCarl Lerche2012-07-102-0/+13
| |
* | Fixed bug creating invalid HTML in select optionsRusty Geldmacher2012-07-103-3/+17
| | | | | | | | | | | | When a select tag is created for a field with errors, then the inserted options will errantly have a <div class="field_with_errors"> wrapping them.
* | deprecate `describe` without a block.Aaron Patterson2012-07-094-13/+1
| | | | | | | | | | minitest/spec provides `describe`, so deprecate the rails version and have people use the superclass version
* | Remove AS declarative extension from erb tag testCarlos Antonio da Silva2012-07-081-3/+0
| | | | | | | | | | The extension was removed in 22bc12ec374b8bdeb3818ca0a3eb787dd3ce39d8, making "test" an alias for minitest's "it".
* | Improve and fix AP changelog, sync release notes [ci skip]Carlos Antonio da Silva2012-07-081-2/+2
| |