aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* 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-202-8/+34
|
* application.js should be the last file on javascript_include_tag(:all)Santiago Pastorino2010-09-192-9/+9
|
* Exception handling more readableThiago Pradi2010-09-191-8/+8
| | | | | | [#5601 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* removing some warningsAaron Patterson2010-09-183-8/+8
|
* freeze is not necessaryAaron Patterson2010-09-181-3/+3
|
* argument error is done for usAaron Patterson2010-09-183-3/+8
|
* file_field makes the enclosing form multipartSantiago Pastorino2010-09-183-19/+56
|
* Fix header capitalization by explicitly upcasing first letter of every word, ↵Maxim Chernyak2010-09-182-1/+12
| | | | and avoiding capitalize. [#5636 state:resolved]
* Raise ArgumentError instead of normalizing controller name when there is a ↵Andrew White2010-09-182-7/+35
| | | | leading slash [#5651 state:resolved]
* Remove leading slash from controller [#5651 state:resolved]Andrew White2010-09-182-1/+9
|
* 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-172-4/+45
| | | 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-142-2/+2
| | | | | | | | printed material, chomp also the generated HTML to be faithful to the output before the refactor
* | Update changelogCarlhuda2010-09-131-0/+3
| |
* | First pass at Rack::Cachewycats2010-09-133-9/+79
| |
* | Only send secure cookies over SSL.W. Andrew Loe III2010-09-133-1/+32
| |
* | 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-132-1/+18
| |
* | 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-123-4/+41
| | | | | | | | | | | | | | | | | | | | | | 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-114-11/+31
| | | | | | | | csrf_meta_tag to it for backwards compatibilty
* | Merge remote branch 'drogus/engines'wycats2010-09-113-6/+6
|\ \
| * | Change app to main_app in mounted_helpersPiotr Sarnacki2010-09-082-4/+4
| | |
| * | Do not require passing :app to mounted helpers, it's actually useless and ↵Piotr Sarnacki2010-09-083-3/+3
| |/ | | | | | | not DRY
* | append asset IDs to the examples of the RDoc of #javascript_include_tag, and ↵Xavier Noria2010-09-101-32/+32
| | | | | | | | quick edit pass
* | Add configuration option for tld lengthSimon Jefford2010-09-093-4/+21
| |
* | Simplify form_for by removing *args and extract_options! (at asakusa.rb)wycats2010-09-091-15/+16
| |
* | Adding linkage to redirect_to from Base and adding status code option referenceMikel Lindsaar2010-09-092-2/+6
|/
* Start cleanup of deprecations in ActionViewCarlos Antonio da Silva2010-09-063-37/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Cleanup Action Dispatch assertions testsCarlos Antonio da Silva2010-09-061-108/+37
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Cleanup deprecations in Action DispatchCarlos Antonio da Silva2010-09-066-135/+8
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Cleanup deprecation warnings in Action ControllerCarlos Antonio da Silva2010-09-067-119/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove a few tests from old router that do not make sense with the new one.José Valim2010-09-053-88/+6
|
* Merge remote branch 'drogus/remove_deprecated_routes'José Valim2010-09-0539-1402/+861
|\ | | | | | | This merge removes the deprecated routes mapper from Rails and update its tests.
| * Deleted test with extended regexp - it fails with no reason, probably ↵Piotr Sarnacki2010-09-051-21/+0
| | | | | | | | rack-mount is doing something weird with that regexp
| * Fixed 2 broken tests for router.Łukasz Strzałkowski2010-09-051-3/+3
| | | | | | | | They were broken after rebase/merge
| * This test is invalid for new routerŁukasz Strzałkowski2010-09-051-20/+0
| |
| * Removed deprecated_mapper - we don't need it anymoreŁukasz Strzałkowski2010-09-051-525/+0
| |