aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Just go with Subclasses instead of OnlySubclassesDavid Heinemeier Hansson2006-02-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just go with Subclasses instead of OnlySubclassesDavid Heinemeier Hansson2006-02-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove unneeded loggingNicholas Seckar2006-02-041-4/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix controller resolution to avoid accidentally inheriting a controller from ↵Nicholas Seckar2006-02-041-2/+6
| | | | | | a parent module. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3530 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set sweeper's @controller to nil after a request so that the controller may ↵Nicholas Seckar2006-02-041-0/+2
| | | | | | be collected between requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove LoadingModuleNicholas Seckar2006-02-031-7/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Reloadable::OnlySubclasses which handles the common case where a base ↵Nicholas Seckar2006-02-022-12/+5
| | | | | | class should not be reloaded, but its subclasses should be. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Further improvements to reloading codeNicholas Seckar2006-02-022-7/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Subclasses of ActionController::Caching::Sweeper should be ReloadableSam Stephenson2006-02-011-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* If included_modules doesnt take a parameter, we shouldnt eitherDavid Heinemeier Hansson2006-02-012-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Syntax problems which were preventing webrick from startingMichael Koziarski2006-02-012-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Document the :xhr option for verifications. Closes #3666.Marcel Molina2006-02-011-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActiveRecordStore::Session shouldnt be reloadableDavid Heinemeier Hansson2006-02-011-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dont mark Sweepers as reloadablesDavid Heinemeier Hansson2006-02-011-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :only and :except controls to skip_before/after_filter just like for ↵David Heinemeier Hansson2006-01-311-4/+20
| | | | | | when you add filters [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure assigns are copied to the template when using render :update. Closes ↵Nicholas Seckar2006-01-301-0/+3
| | | | | | #3620. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added reusable reloading support through the inclusion of the Relodable ↵David Heinemeier Hansson2006-01-293-4/+19
| | | | | | module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add the ability to call JavaScriptGenerator methods from helpers called in ↵Sam Stephenson2006-01-231-2/+3
| | | | | | update blocks git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix render(:update) to not render layoutsSam Stephenson2006-01-231-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backing out of [3470] until visual_effect, et al can workSam Stephenson2006-01-231-3/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add the ability to call JavaScriptGenerator methods from helpers called in ↵Sam Stephenson2006-01-231-2/+3
| | | | | | update blocks git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that SSL would not correctly be detected when running lighttpd/fcgi ↵David Heinemeier Hansson2006-01-231-1/+1
| | | | | | behind lighttpd w/mod_proxy (closes #3548) [stephen_purcell@yahoo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added the possibility to specify atomatic expiration for the memcachd ↵David Heinemeier Hansson2006-01-221-12/+18
| | | | | | session container (closes #3571) [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Change layout discovery to take into account the change in semantics with ↵Marcel Molina2006-01-221-1/+1
| | | | | | File.join and nil arguments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise a RedirectBackError if redirect_to :back is called when theres no ↵David Heinemeier Hansson2006-01-221-1/+8
| | | | | | HTTP_REFERER defined (closes #3049) [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract Test::Unit::TestCase test process behavior into an ↵Sam Stephenson2006-01-201-107/+113
| | | | | | ActionController::TestProcess module git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Pass along blocks from render_to_string to renderSam Stephenson2006-01-201-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add render :update for inline RJSSam Stephenson2006-01-203-14/+37
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically discover layouts when a controller is namespaced. Closes ↵Marcel Molina2006-01-151-4/+9
| | | | | | #2199, #3424. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct the case of the CSS declarations. [Blair Zajac] Closes #3171Michael Koziarski2006-01-131-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for multiple proxy servers in HTTP_X_FORWARDED_HOST. Closes #3397Michael Koziarski2006-01-131-1/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove Upload Progress. Closes #2871.Marcel Molina2006-01-133-648/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow auto-discovery of third party template library layouts.Marcel Molina2006-01-121-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Value of full_messages on stubbed out AR instances should be an Array.Marcel Molina2005-12-261-6/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* cosmetic change to assert_validTobias Lütke2005-12-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* only log session_id if @session object responds to .session_id. Tobias Lütke2005-12-221-1/+1
| | | | | | | In functional test cases you often pass in a hash as session object which doesn't have this method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3339 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add session ID to default logging, but remove the verbose description of ↵David Heinemeier Hansson2005-12-222-15/+1
| | | | | | every step [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't try to strip out the controller name if default_action_name is nilMarcel Molina2005-12-201-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't include a layout when rendering an rjs template using render's ↵Marcel Molina2005-12-172-1/+11
| | | | | | :template option. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3316 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't used defined? on a scoped constant since it results in a const_missing ↵Jeremy Kemper2005-12-131-1/+1
| | | | | | call. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove insignificant classes from docsDavid Heinemeier Hansson2005-12-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More robust relative url root discovery for SCGI compatibility. This solves ↵Jeremy Kemper2005-12-081-1/+2
| | | | | | the 'SCGI routes problem' -- you no longer need to prefix all your routes with the name of the SCGI mountpoint. References #3070. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3237 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed RDoc warnings [DHH]David Heinemeier Hansson2005-12-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct spelling of persistent [Stefan Kaes]. Document and eliminate ↵Jeremy Kemper2005-11-231-5/+15
| | | | | | warnings in clear_persistent_model_associations. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Initialize @optional in routing code to avoid warningsNicholas Seckar2005-11-221-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make ActionController's render honor the :locals option when rendering a ↵Sam Stephenson2005-11-221-3/+7
| | | | | | :file. Closes #1665. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow assert_tag(:conditions) to match the empty string when a tag has no ↵Jamis Buck2005-11-212-2/+8
| | | | | | children. Closes #2959. [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update html-scanner to handle CDATA sections better. Closes #2970. [Jamis Buck]Jamis Buck2005-11-212-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't put flash in session if sessions are disabled.Jeremy Kemper2005-11-211-7/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Back out of 3109 for now as it seems to interfere with the flashDavid Heinemeier Hansson2005-11-211-6/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de