aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Reduce usage of interpret_status. It should also return a integerJoshua Peek2009-12-101-4/+12
| | | | not a string.
* Merge branch 'master' of github.com:rails/railsYehuda Katz2009-12-101-56/+45
|\
| * Simpler RenderOption API -- removes the need for registering the types and ↵Carlhuda2009-12-091-56/+45
| | | | | | | | extending a module
* | Responder redirects to resource if destroy fails.José Valim2009-12-071-2/+7
| | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* | Make controller.flash public to be used in responders.José Valim2009-12-071-12/+12
|/ | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Reorganize autoloads:Carlhuda2009-12-028-6/+14
| | | | | | | | | | | | | | | | | | | | | * 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.
* cache_store and page_cache_directory are already defined in cachingJoshua Peek2009-12-011-4/+1
| | | | and pages
* 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>
* Extract form_authenticity_param instance method so it's overridable in ↵Jeremy Kemper2009-11-171-0/+5
| | | | subclasses
* 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>
* Rdoc for changes introduced in e2ed1a1ca, 36058f450.David Vrensk2009-11-121-0/+1
| | | | | | [#3451 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* String#bytesize is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-2/+0
|
* Fix some Ruby warnings: `*' interpreted as argument prefixBryan Helmkamp2009-11-091-2/+2
|
* Update AC::Middleware to play better with the normal AC::Metal stack. This ↵Yehuda Katz2009-11-053-24/+24
| | | | required stopping to use #call for non-rack-related stuff
* Extracted localized_cache.rb from ActionController, added it to ↵José Valim2009-11-011-38/+3
| | | | AbstractController and made ActionMailer use it.
* Add some basic render_test to AbstractController.José Valim2009-11-011-0/+9
|
* Improve AbstractController layouts coverage.José Valim2009-11-011-0/+4
|
* Move all render and layout pieces required in ActionMailer from ↵José Valim2009-11-012-34/+0
| | | | ActionController to AbstractController.
* Remove ActionMailer helpers and rely on AbstractController one.José Valim2009-11-011-65/+4
|
* Refactor ActionMailer layout and remove legacy one.José Valim2009-11-012-267/+0
|
* Caching refactoringYehuda Katz2009-10-294-86/+91
|
* First pass at cleaning up action cachingYehuda Katz2009-10-282-104/+96
|
* Make polymorphic_url work with symbols again and refactor it [#1384 ↵José Valim2009-10-281-34/+7
| | | | | | status:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* New semantics eliminate the need for __send__Yehuda Katz2009-10-281-2/+2
|
* Reorganize CSRF a bitYehuda Katz2009-10-281-33/+23
|
* AS::Notifications.subscribe blocks are now yielded the arguments to pass to ↵Yehuda Katz2009-10-271-1/+3
| | | | AS::Notifications::Event.new
* #include should be #extendYehuda Katz2009-10-271-1/+1
|
* Clean up flash a bitYehuda Katz2009-10-271-1/+1
|
* Clean up flash a bitYehuda Katz2009-10-261-25/+23
|
* Clean up parameter logging someYehuda Katz2009-10-261-42/+23
|
* Clean up and update cookiesYehuda Katz2009-10-261-17/+27
|
* Fixes expires_now and cleans things up a bitYehuda Katz2009-10-261-1/+1
|
* Extract #head into its own module and simplify itYehuda Katz2009-10-262-36/+30
|
* Base setup for config object in AC.Yehuda Katz2009-10-263-12/+32
|
* Start rewriting some internal tests to use the new routing dslJoshua Peek2009-10-201-0/+4
|
* Group together all the old routing dsl logicJoshua Peek2009-10-201-1/+0
|
* Move Routing into ADJoshua Peek2009-10-206-1765/+3
|
* Replace decaying routing internals w/ rack-mountJoshua Peek2009-10-1911-1234/+337
|
* Only undef to_json if it's definedJeremy Kemper2009-10-191-1/+1
|
* Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵José Valim2009-10-171-6/+3
| | | | responder to be set in the class level.
* Use Rails.application where we want a valid rack appJoshua Peek2009-10-161-1/+1
|
* Deprecate RAILS_ROOT in favor of Rails.root (which proxies to the ↵Carl Lerche2009-10-161-1/+1
| | | | application's object root)
* Renamed Orchestra to Notifications once again [#3321 state:resolved]José Valim2009-10-153-8/+8
|
* Unify benchmark APIs.José Valim2009-10-152-23/+6
|
* Update Orchestra instrumentations and move part of logging to Orchestra.José Valim2009-10-153-27/+15
|
* Revert "Rename Orchestra to Notifications [#3321 state:resolved]"José Valim2009-10-152-6/+6
| | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2.
* Punt on ConcurrentHash [#3322 state:resolved]Joshua Peek2009-10-141-5/+5
|
* Rename Orchestra to Notifications [#3321 state:resolved]Joshua Peek2009-10-142-6/+6
|
* Test cases should see all the cookies, not just cookies that have been set ↵Craig Smith2009-10-151-1/+1
| | | | | | | | | | | | | in the controller. Previously this example would always pass, even when cookies.delete was not called. @request.cookies['foo'] = 'bar' get :delete_cookie assert_nil cookies['foo'] Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2768 state:committed]
* Use ERB::Util.h over CGI.escapeHTML as the former is safety aware and the ↵Michael Koziarski2009-10-151-1/+1
| | | | latter isn't