aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Improve ActionPack logger output.José Valim2010-01-111-5/+8
|
* Cleanup junk metal and revise APIJoshua Peek2010-01-101-3/+25
| | | | | API Change: Returning a "X-Cascade: pass" header triggers the cascade instead of a 404 response.
* Use safe_concat instead of trying to html_safe! what might be a frozen stringDavid Heinemeier Hansson2010-01-101-2/+2
|
* Raise an error if respond_with is invoked and no format is declared.José Valim2010-01-101-3/+6
|
* Fixed that fragment caching should return a cache hit as html_safe (or it ↵David Heinemeier Hansson2010-01-071-1/+1
| | | | would all just get escaped) [DHH]
* Remove duplicated url_for code and move methods shared between ActionMailer ↵José Valim2010-01-074-210/+59
| | | | and ActionController up to AbstractController.
* Remove CGI.escape in function of Rack::Mount.escapeJosé Valim2010-01-061-3/+3
|
* Controller tests should always require view tests since they add behavior ↵Jeremy Kemper2010-01-041-0/+1
| | | | controllers expect
* Default middleware stack needs to be available at configuration timeJoshua Peek2010-01-041-20/+0
|
* Autoload AS test caseJoshua Peek2010-01-041-1/+0
|
* Autoload AC and AV test case classesJoshua Peek2010-01-041-1/+0
|
* MergeDavid Heinemeier Hansson2010-01-034-13/+20
|\
| * Use underscore in notification namespaces.José Valim2010-01-044-6/+6
| |
| * Use namespaces in notifications.José Valim2010-01-034-13/+20
| |
* | Added that ActionController::Base now does helper :all instead of relying on ↵David Heinemeier Hansson2010-01-031-0/+2
|/ | | | the default ApplicationController in Rails to do it [DHH]
* Expose a _render_partial hook as thhe _render_template one and make use of it.José Valim2009-12-311-6/+6
|
* ActionController::Logger should include AbstractController::Logger and sort ↵José Valim2009-12-312-1/+4
| | | | autoloads for easier readability.
* controller_path is required by ActionView, so move it up to ↵José Valim2009-12-313-187/+1
| | | | AbstractController and refactor AbstractController::Layouts.
* Some railties cleanup:Carl Lerche2009-12-311-1/+1
| | | | | | * Rename <framework>/rails.rb -> <framework>/railtie.rb * Rails::Plugin -> Rails::Railtie * Rails::Plugin::Vendored -> Rails::Plugin
* Rename rails.rb -> rails/all.rb and rails/core.rb -> rails.rbCarl Lerche2009-12-311-0/+1
|
* Add a /rails.rb for each framework for consistencyCarl Lerche2009-12-311-0/+2
|
* Revert "Add config.action_controller.include behavior to plugins."Jeremy Kemper2009-12-301-2/+1
| | | | | | | | This reverts commit 7e8b7f46bfc086a36db996420fbee93348c5268e. Conflicts: railties/lib/rails/plugin.rb
* Use extlib_inheritable_accessor in request_forgery_protection.rb.Carl Lerche2009-12-291-1/+1
| | | For some reason the current class_inheritable_accessor does not play nice with included hooks. class_inheritable_accessor will be revised shortly.
* Silence some trivial warnings: shadowed local vars, indentation mismatchesJeremy Kemper2009-12-283-182/+181
|
* Remove ActiveRecord runtime logging from ActionPack and place in ↵José Valim2009-12-273-30/+15
| | | | ActiveRecord, adding it through config.action_controller.include hook.
* Remove ActionView inline logging to ActiveSupport::Notifications and create ↵José Valim2009-12-268-111/+107
| | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened.
* Finish moving config.frameworks-dependent code to the framework pluginCarlhuda2009-12-232-10/+75
|
* Moving out some framework specific initializers into the framework libraries.Carlhuda2009-12-231-0/+27
|
* Flip deferrable autoload conventionJoshua Peek2009-12-222-17/+21
|
* All AD modules are "deferrable"Joshua Peek2009-12-221-0/+3
|
* Use Rack::Runtime middleware so the reported time includes the entire ↵Joshua Peek2009-12-221-1/+0
| | | | middleware stack
* AD::StatusCodes support is now part of rackJoshua Peek2009-12-223-6/+6
|
* Make ActionMailer::Base inherit from AbstractController::BaseJosé Valim2009-12-222-0/+35
| | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-211-1/+5
|\
| * reset_session needs to be a real method so flash can override itJoshua Peek2009-12-211-1/+5
| |
* | Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-2117-105/+89
|\|
| * AC::Head now doesn't have an unfulfilled Rendering dependency, and instead ↵Yehuda Katz2009-12-204-12/+14
| | | | | | | | works just fine standalone (which means that ConditionalGet also doesn't have a Rendering dependency)
| * Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2009-12-2011-82/+65
| |\
| | * Rename RackConvenience => RackDelegationJoshua Peek2009-12-207-9/+9
| | |
| | * Merge Session stuff into RackConvenienceJoshua Peek2009-12-206-73/+56
| | |
| * | Rename RenderOptions to RenderersDavid Heinemeier Hansson2009-12-202-5/+4
| |/
| * Renamed Redirector to Redirecting (its a module, not a class)David Heinemeier Hansson2009-12-203-3/+3
| |
| * Rename the RenderingController module to just plain RenderingDavid Heinemeier Hansson2009-12-205-6/+6
| |
* | Added cookies.permanent, cookies.signed, and cookies.permanent.signed ↵David Heinemeier Hansson2009-12-201-38/+130
|/ | | | accessor for common cookie actions [DHH]
* Added alert/notice from 2-3-stable and refactored redirect_to into just ↵David Heinemeier Hansson2009-12-173-71/+122
| | | | living in Redirector [DHH]
* Move route reloading into railtiesJoshua Peek2009-12-141-5/+0
|
* Fix warning in AC flashJoshua Peek2009-12-141-0/+1
|
* Allow autoloads to opt out of eager loadingJoshua Peek2009-12-122-3/+0
|
* TestProcess belongs in ADJoshua Peek2009-12-122-113/+1
|
* Remove fancy method not allowed resource exceptions since they areJoshua Peek2009-12-111-10/+1
| | | | too much of a hack