aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* More cleanup on form helpersCarlos Antonio da Silva2010-09-261-11/+12
|
* Remove last tests with deprecated form_for and cleanup form_for helperCarlos Antonio da Silva2010-09-261-4/+2
| | | | | | | This cleans up the last bits of deprecation stuff from form_for helper. However there is still a bug when using :as => foo[], with index. The classes and ids are being generated using [], such as foo[]_edit. This bug already existed but it was not detected before.
* Select tags with array options are deprecated, removingCarlos Antonio da Silva2010-09-261-4/+0
|
* Refactor form_for helperCarlos Antonio da Silva2010-09-261-21/+11
|
* Remove deprecated stuff in ActionControllerCarlos Antonio da Silva2010-09-268-15/+5
| | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController.
* There is no DeprecatedBlockHelpers in AV, so remove itCarlos Antonio da Silva2010-09-261-1/+0
|
* Fix logging when cache key contains % sign [#5570 state:resolved]Krekoten' Marjan2010-09-251-1/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Don't duplicate Rack::Response functionality. [#5320 state:resolved]John Firebaugh2010-09-251-18/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* There is no need to use instance_eval since the proc is created in the same ↵José Valim2010-09-241-1/+1
| | | | context it is eval'ed.
* Make redirect_to accept blocks [#5643 state:resolved]Nando Vieira2010-09-241-1/+5
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Changed documentation for auto_link so that the truncate example works ↵Kevin Hughes2010-09-241-1/+1
| | | | | | [#5694 state:resolved] Signed-off-by: Xavier Noria <fxn@hashref.com>
* resolves rdoc conflictXavier Noria2010-09-235-12/+14
|\
| * Document form_for behaviour when using file_field inside the blockJoost Baaij2010-09-211-1/+3
| |
| * updated instructions on how to change the default session storeDiego Carrion2010-09-181-2/+2
| |
| * updated instructions to generate the migration for the ActiveRecord session ↵Diego Carrion2010-09-181-1/+1
| | | | | | | | store table
| * Tiny fixes to rdocAlexey Mahotkin2010-09-163-6/+6
| |
| * Typosrspeicher2010-09-151-3/+3
| |
* | Improve performance of applications using file uploads by not busting the ↵Carl Lerche2010-09-221-29/+20
| | | | | | | | method cache on every request containing a file upload.
* | fixing bug with rails use of rack-testAaron Patterson2010-09-221-2/+4
| |
* | Refactor routing methods.Emilio Tagua2010-09-222-11/+2
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Refactor decode_credentials to avoid inject and use map instead.Emilio Tagua2010-09-222-7/+6
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Perf: refactor _assign method to avoid inject and defining unneeded local var.Emilio Tagua2010-09-221-5/+1
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | Refactor methods in html node to avoid injects.Emilio Tagua2010-09-221-8/+4
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* | file_field propagates up multipart property even inside of fields_forSantiago Pastorino2010-09-201-8/+13
| |
* | application.js should be the last file on javascript_include_tag(:all)Santiago Pastorino2010-09-191-1/+1
| |
* | removing some warningsAaron Patterson2010-09-181-2/+2
| |
* | freeze is not necessaryAaron Patterson2010-09-181-3/+3
| |
* | argument error is done for usAaron Patterson2010-09-181-2/+0
| |
* | file_field makes the enclosing form multipartSantiago Pastorino2010-09-181-19/+36
| |
* | Fix header capitalization by explicitly upcasing first letter of every word, ↵Maxim Chernyak2010-09-181-1/+1
| | | | | | | | and avoiding capitalize. [#5636 state:resolved]
* | Raise ArgumentError instead of normalizing controller name when there is a ↵Andrew White2010-09-181-1/+5
| | | | | | | | leading slash [#5651 state:resolved]
* | Remove leading slash from controller [#5651 state:resolved]Andrew White2010-09-181-1/+1
| |
* | Small tweak the ConditionalGet documentationCarl Lerche2010-09-171-2/+2
| | | | | | Time#utc does not need to be called when passing the object to :last_modified since it is called internally to Rails.
* | Add RouteSet#appendCarl Lerche2010-09-171-4/+12
|/ | | Allows specifying blocks to the routeset that will get appended after the RouteSet is drawn.
* Merge remote branch 'docrails/master'Xavier Noria2010-09-142-9/+10
|\
| * Wrap all occurences of <script> in a <tt> tag in docs [#5537 state:committed]David Trasbo2010-09-062-9/+10
| |
* | get csrf_meta_tag back to the generated layout in deference to existing ↵Xavier Noria2010-09-141-1/+1
| | | | | | | | printed material, chomp also the generated HTML to be faithful to the output before the refactor
* | First pass at Rack::Cachewycats2010-09-132-0/+68
| |
* | Only send secure cookies over SSL.W. Andrew Loe III2010-09-131-1/+4
| |
* | reviews 02656acXavier Noria2010-09-131-18/+17
| |
* | copy-edits 4eb8987Xavier Noria2010-09-131-3/+3
| |
* | Allow view helper's #initialize method to be called. [#5061 state:resolved]Carl Lerche2010-09-131-1/+5
| |
* | Add documentation for `:spacer_template` in Rails 3Prem Sichanugrist2010-09-131-0/+5
| | | | | | This setting was existed since Rails 2.3.x, and seems like it have been left out when we rewriting the documentation.
* | added documentation for :as and :object in PartialRendererCollin Miller2010-09-131-0/+32
| | | | | | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* | removes /i from the TRUSTED_PROXIES regexp, adds /x and comments for ↵Xavier Noria2010-09-121-2/+10
| | | | | | | | readability, adds a pointer to a Wikipedia section that documents the matched IPs
* | added block arguments to ActionController::Metal#useCollin Miller2010-09-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | Useful for cases such as warden, where a block configuration is taken. class SomeController < ApplicationController use RailsWarden::Manager do |manager| manager.default_strategies :facebook_oauth manager.failure_app = SomeController.action(:authorize) end end
* | gets rid of a double negation, no need to force exactly true/false in a ↵Xavier Noria2010-09-121-4/+4
| | | | | | | | predicate
* | Change singular to param_key in form_helper, param_key is now used for ↵Piotr Sarnacki2010-09-111-2/+2
| | | | | | | | | | | | generating field names Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com>
* | Partial revert of commit #7fae0aa4ac116 removing ↵Mikel Lindsaar2010-09-111-5/+0
| | | | | | | | | | | | | | action_dispatch.prepare_dispatcher per commit #48bf667a8b1 See line note: http://github.com/rails/rails/commit/7fae0aa4ac116bcbf522a9a4f19972c653d366fa#commitcomment-145148
* | revises implementation and documentation of csrf_meta_tags, and aliases ↵Xavier Noria2010-09-112-8/+24
| | | | | | | | csrf_meta_tag to it for backwards compatibilty