aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* format lookup for partials is derived from the format in which the template ↵Santiago Pastorino2012-02-227-30/+14
| | | | | | is being rendered Closes #5025 part 2
* fix bad docs from f373f296 [ci skip]Vijay Dev2012-02-211-3/+3
|
* Don't wrap the raise with ensureSantiago Pastorino2012-02-211-9/+11
|
* Restore lookup formats to the previous value after searching for the failing ↵Santiago Pastorino2012-02-211-1/+3
| | | | view
* Use the right format when a partial is missing.Santiago Pastorino2012-02-201-0/+1
| | | | Closes #5025
* Reset memoized hash keys when new entry addedChris Kelly2012-02-201-0/+1
|
* search private / protected methods in trunk rubyAaron Patterson2012-02-201-1/+1
|
* Simplify regexpAndrew White2012-02-171-1/+1
|
* Fix ActionDispatch::Static to serve files with unencoded PCHARAndrew White2012-02-171-2/+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
* backporting #4918 to 3.2 stable; adding extra test for accept header given ↵Aditya Sanghi2012-02-171-1/+3
| | | | by googlebot
* Rack body respond to each and not to joinSantiago Pastorino2012-02-141-2/+4
| | | | | | | This fixes undef `to_str' for Rack::Chunked::Body when using caches_action + streaming on an action Closes #5027
* Merge pull request #4988 from kennyj/fix_4720-3Aaron Patterson2012-02-101-0/+5
| | | | Fix GH #4720. Routing problem with nested namespace and already camelized controller option.
* Fixed force_ssl redirects to include original query paramsRyan McGeary2012-02-062-0/+2
| | | | | | `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.
* Merge pull request #4908 from kennyj/fix_3864José Valim2012-02-061-1/+1
| | | | Fix url_for method's behavior. GH #3684.
* Clean up a bit default_response handling and cache format negotiation.José Valim2012-02-042-19/+17
|
* Merge pull request #4870 from sikachu/3-2-stable-responder-fixJosé Valim2012-02-041-8/+23
|\ | | | | Fix override API response bug in respond_with
| * Fix override API response bug in respond_withPrem Sichanugrist2012-02-031-8/+23
| | | | | | | | | | | | | | | | | | | | Default responder was only using the given respond block when user requested for HTML format, or JSON/XML format with valid resource. This fix the responder so that it will use the given block regardless of the validity of the resource. Note that in this case you'll have to check for object's validity by yourself in the controller. Fixes #4796
* | Merge pull request #4879 from kennyj/fix_4873José Valim2012-02-041-2/+3
|/ | | | Fix GH #4873. Allow swapping same class middleware.
* Merge pull request #4735 from arton/masterAaron Patterson2012-01-311-1/+5
| | | | Re-launch assets:precompile task using original $0 if $0 is batch file so it works on Windows
* don't set the hidden checkbox value if it's nilDamien Mathieu2012-01-271-1/+1
|
* check_box helper with :disabled => true generates disabled hidden field. ↵Tadas Tamošauskas2012-01-271-1/+1
| | | | fixes #1953
* updating RAILS_VERSIONXavier Noria2012-01-261-1/+1
|
* Revert usage of safe constantizeJosé Valim2012-01-261-1/+3
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* remove extra 'the'Rohit Arondekar2012-01-261-1/+1
|
* example bracket errorDamian Le Nouaille2012-01-261-1/+1
|
* Merge pull request #4639 from joevandyk/datetime-infinity-select-fixAaron Patterson2012-01-241-1/+1
|\ | | | | datetime_select fix for dates of -infinity and +infinity
| * datetime_select should work with -/+ infinity datesJoe Van Dyk2012-01-241-1/+1
| |
* | Fix date_select with discard_month and discard_year optionsRafael Mendonça França2012-01-241-2/+2
| | | | | | | | Closes #4553 and #4633
* | Fix date_select nil and blank and order caseIndrek Juhkam2012-01-241-1/+1
|/
* Added custom regexps to ASTs that have literal nodes on either side ofAaron Patterson2012-01-231-1/+20
| | | | symbol nodes. Fixes #4585
* Merge pull request #4604 from ihid/3-2-stableJosé Valim2012-01-221-0/+1
|\ | | | | 3-2-stable: Fixed regression - unable to use a range as choices for form.select.
| * Allow form.select to accept ranges.Jeremy Walker2012-01-221-0/+1
| |
* | document `:raise` option support for several helpers [ci skip]Jonathan Roes2012-01-211-0/+3
|/
* Preparing for 3.2.0 releaseDavid Heinemeier Hansson2012-01-201-1/+1
|
* Do not deprecate performed?José Valim2012-01-192-6/+4
|
* Fix small typo in mail_to docs in url_helper.rbSimon Baird2012-01-191-1/+1
|
* Silent Sprockets logger when config.assets.logger is set to falseGuillermo Iguaran2012-01-181-1/+4
|
* Remove duplicated constant definitionCarlos Antonio da Silva2012-01-171-3/+0
| | | | | ActionController::ActionControllerError is already defined in action_controller/metal/exceptions.
* Deprecate AC::UnknownError and AC::DoubleRenderErrorCarlos Antonio da Silva2012-01-171-2/+2
| | | | | Use the constants AbstractController::ActionNotFound and AbstractController::DoubleRenderError respectively instead.
* Add default charset config to ActionDispatchCarlos Antonio da Silva2012-01-171-1/+2
|
* Deprecate default_charset= at controller levelCarlos Antonio da Silva2012-01-171-2/+4
|
* Add some deprecations for logic being removed in 4.0Carlos Antonio da Silva2012-01-171-2/+15
|
* Add option to configure Sprockets loggerRafael Mendonça França2012-01-171-1/+1
|
* Add begin/ensure block since we are returning.José Valim2012-01-141-3/+5
|
* Use a BodyProxy instead of including a Module that responds to close.Santiago Pastorino2012-01-132-14/+31
| | | | Closes #4441 if Active Record is disabled assets are delivered correctly
* Made an example a little more realisticcodesnik2012-01-111-1/+1
|
* Rails initialization with initialize_on_precompile = false should set assets_dirSantiago Pastorino2012-01-101-1/+4
|
* Fix http digest authentication with trailing '/' or '?' (fixes #4038 and #3228)Piotr Sarnacki2012-01-101-5/+8
|
* Add original_fullpath and original_url methods to RequestPiotr Sarnacki2012-01-101-0/+8
|
* Don't fork a process when assets:precompile:nondigest is invoked in ↵kennyj2012-01-071-3/+3
| | | | assets:precompile:all. Improve GH #3694.