aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
* Reorganize autoloads:Carlhuda2009-12-0227-301/+343
| | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications.
* Use to_query in route query string generationJoshua Peek2009-12-021-24/+1
|
* Move controller namespace tracking into route set so it getsJoshua Peek2009-12-024-45/+36
| | | | reloaded in dev mode
* Stop escaping "[]" in query stringJoshua Peek2009-12-021-3/+1
|
* Fork rack build nested query to support to_paramJoshua Peek2009-12-021-2/+43
|
* Ensure Cache-Control max-age is an integerJeremy Kemper2009-12-021-1/+1
|
* Response#write is defined twice (this is why -w is good)Joshua Peek2009-12-011-6/+0
|
* Response#cache_control is defined laterJoshua Peek2009-12-011-1/+0
|
* cache_store and page_cache_directory are already defined in cachingJoshua Peek2009-12-011-4/+1
| | | | and pages
* Fix @renderer warningJoshua Peek2009-12-011-10/+10
|
* Simply track controller namespaces instead of a complete list ofJoshua Peek2009-12-012-47/+22
| | | | possible controllers to route to
* Make recognize try to constantize controller to see if it existsJoshua Peek2009-12-011-0/+3
|
* Merge branch 'master' of github.com:rails/railsJoshua Peek2009-12-011-3/+8
|\
| * Allow ActionController::Responder to have a common entry point for all formats.José Valim2009-12-011-3/+8
| | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* | Fix generating params with optional defaults [#3404 state:resolved]Joshua Peek2009-12-011-1/+1
|/
* Fix some nested resource generation testsJoshua Peek2009-11-291-5/+10
|
* Wrap up http related routing helpersJoshua Peek2009-11-291-33/+37
|
* Break down long match routing methodJoshua Peek2009-11-291-23/+53
|
* Make use of extract_options!Joshua Peek2009-11-291-6/+6
|
* Extract Resource and SingletonResource helper objectsJoshua Peek2009-11-291-28/+84
|
* Resource collection should be defined before member routesJoshua Peek2009-11-291-6/+6
|
* Update reference to deprecated constant to avoid warningsBryan Helmkamp2009-11-281-1/+1
|
* Remove reference to class that doesn't exist (ht: brynary)Yehuda Katz2009-11-281-1/+1
|
* Privatize Routing.possible_controllers and fix brittle url helperJoshua Peek2009-11-231-33/+33
| | | | controller test loading.
* Find all controllers in memory to use for routingJoshua Peek2009-11-232-8/+15
|
* with_controllers is no longer usedJoshua Peek2009-11-231-11/+0
|
* Extract Routing.controller_constraintsJoshua Peek2009-11-233-2/+7
|
* Kill dead routing internals helpersJoshua Peek2009-11-231-26/+0
|
* Don't really care about reloading routes when inflections areJoshua Peek2009-11-231-11/+0
| | | | changed.
* Update routing for rackmount 0.2 api changesJoshua Peek2009-11-191-54/+11
|
* Add basic nested named route support to new routing dsl. Also add aJoshua Peek2009-11-191-8/+18
| | | | bunch of pending tests.
* Extract form_authenticity_param instance method so it's overridable in ↵Jeremy Kemper2009-11-171-0/+5
| | | | subclasses
* Allow explicit placement of hidden id element for nested models.Will Read2009-11-151-2/+11
| | | | | | [#3259 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
* Ruby 1.9.2: StringIO no longer has #pathJeremy Kemper2009-11-131-1/+1
|
* Split mime responder into smaller chunks and allow action to be configured.José Valim2009-11-131-17/+27
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Remove rackmount const usageJoshua Peek2009-11-122-3/+3
|
* Rdoc for changes introduced in e2ed1a1ca, 36058f450.David Vrensk2009-11-121-0/+1
| | | | | | [#3451 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Revert "Revert "Eliminate warning with layout is unset""Jeremy Kemper2009-11-101-1/+1
| | | | This reverts commit d8fd0499bfd6edc676ff3fbffc327656f6d5c320.
* Revert "Eliminate warning with layout is unset"Jeremy Kemper2009-11-101-1/+1
| | | | This reverts commit 1fcf32f8fef8fb5a63a66edacf556a107d12c049.
* Eliminate warning with layout is unsetJeremy Kemper2009-11-101-1/+1
|
* Revert "Eliminate warning with layout is unset"Jeremy Kemper2009-11-101-1/+1
| | | | This reverts commit 90be80361f26d717f9842170315dd8659f35429d.
* Eliminate warning by initializing nil formatsJeremy Kemper2009-11-101-0/+6
|
* Eliminate warning with layout is unsetJeremy Kemper2009-11-101-1/+1
|
* Fixed AD assertion autoloads [#3470 state:resolved]Joshua Peek2009-11-091-3/+16
|
* String#bytesize is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-2/+0
|
* Object#tap is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-1/+0
|
* Silence warning: discarding old hBryan Helmkamp2009-11-091-0/+1
|
* Fix some Ruby warnings: `*' interpreted as argument prefixBryan Helmkamp2009-11-092-3/+3
|
* Merge remote branch 'Fingertips/master'Joshua Peek2009-11-081-0/+1
|\
| * Share ActionView::TestCase's output_buffer with view for concat support.Chris Hapgood2009-11-071-0/+1
| | | | | | | | | | | | [#3467 state:resolved] Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>