aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* New dependencies implementationNicholas Seckar2006-08-083-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation: check whether instance variables have been monkeyed with before ↵Jeremy Kemper2006-08-071-4/+12
| | | | | | assigning them to deprecation proxies. Raises a RuntimeError if so. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate direct usage of @params. Update ActionView::Base for instance var ↵Jeremy Kemper2006-08-075-15/+17
| | | | | | deprecation. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* it's me, john wayneNicholas Seckar2006-08-071-12/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4700 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecation! @session and @flash will be removed after 1.2. Use the session ↵Jeremy Kemper2006-08-074-45/+55
| | | | | | and flash methods instead. You'll get printed warnings during tests and logged warnings in dev mode when you access either instance variable directly. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4699 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add Rdocs to map.resourcesRick Olson2006-08-061-0/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Routing noisy when an anchor regexp is assigned to a segment. Closes #5674Nicholas Seckar2006-08-051-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove duplicate routes from mapped resources (closes #5712) ↵David Heinemeier Hansson2006-08-051-3/+4
| | | | | | [eigentone@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Short documentation to mention use of Mime::Type.register. Closes #5710 ↵Michael Koziarski2006-08-051-1/+7
| | | | | | [choonkeat@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make controller_path available as an instance method. Closes #5724.Jeremy Kemper2006-08-051-0/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The white space inquisition is coming for you!David Heinemeier Hansson2006-08-041-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken query parameter testsNicholas Seckar2006-08-041-43/+113
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix typo in caching docs. [Marcel Molina Jr.]Marcel Molina2006-08-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make action caching aware of different formats for the same action so that, ↵Marcel Molina2006-08-031-6/+64
| | | | | | e.g. foo.xml is cached separately from foo.html. Implicitly set content type when reading in cached content with mime revealing extensions so the entire onous isn't on the webserver. PDI MORE CACHING TESTS [Marcel Molina Jr.] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More tweaks to make sure assert_redirected_to works with symbolsJamis Buck2006-08-011-2/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure assert_respond_to works with symbol parametersJamis Buck2006-08-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restrict Request Method hacking with ?_method to POST requests. [Rick Olson]Rick Olson2006-08-011-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4644 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nested resource testing.Jeremy Kemper2006-08-011-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nesting map.resourcesJeremy Kemper2006-08-011-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bug when passing multiple options to SimplyRestful, like :new => { ↵Rick Olson2006-07-311-19/+6
| | | | | | :preview => :get, :draft => :get }. [Rick Olson, Josh Susser, Lars Pind] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Dup the options passed to map.resources so that multiple resources get the ↵Rick Olson2006-07-311-1/+1
| | | | | | same options. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the new_#{resource}_url route and added named route tests for Simply ↵Rick Olson2006-07-311-1/+1
| | | | | | Restful. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added map.resources from the Simply Restful plugin (backwards incompatible ↵David Heinemeier Hansson2006-07-314-9/+175
| | | | | | with the plugin!) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4886@ks: jeremy | 2006-07-31 00:01:55 -0700Jeremy Kemper2006-07-311-1/+1
| | | | | | | comma git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that integration simulation of XHRs should set Accept header as well ↵David Heinemeier Hansson2006-07-311-1/+5
| | | | | | [Edward Frederick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* show missing file path on failed fixture_file_uploadRick Olson2006-07-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure TestRequest#session always returns a TestSession [Koz]Michael Koziarski2006-07-281-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't search a load-path of '.' for controller files, since it may include ↵Jamis Buck2006-07-271-1/+1
| | | | | | symlinks to all kinds of things and result in far too many irrelevant files being considered git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update integration.rb to require test_process explicitly instead of via ↵Nicholas Seckar2006-07-271-0/+1
| | | | | | Dependencies git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ICS to extension lookup recognition [Lars Pind]David Heinemeier Hansson2006-07-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that you can still access the flash after the flash has been reset in ↵Rick Olson2006-07-221-1/+2
| | | | | | reset_session. Closes #5584 [lmarlow@yahoo.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove leak in development modeNicholas Seckar2006-07-171-21/+25
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4487@asus: jeremy | 2006-04-29 12:21:39 -0700Jeremy Kemper2006-07-086-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check whether @flash is defined? for warnings-safety. r4488@asus: jeremy | 2006-04-29 12:23:15 -0700 Check whether @flash is defined? for warnings-safety. Obviates nil? check. r4489@asus: jeremy | 2006-04-29 12:45:18 -0700 Check whether @session is defined? for warnings-safety. r4490@asus: jeremy | 2006-04-29 12:50:41 -0700 Check whether @rendering_runtime is defined? for warnings-safety. r4491@asus: jeremy | 2006-04-29 12:55:01 -0700 Check whether @_cycles is defined? for warnings-safety. r4492@asus: jeremy | 2006-04-29 12:59:19 -0700 Check whether instance variables are defined? for warnings-safety. r4493@asus: jeremy | 2006-04-29 13:14:09 -0700 Add nil @template to PrototypeHelperTest to suppress unitialized instance variable warning. r4494@asus: jeremy | 2006-04-29 13:31:34 -0700 Check whether @auto_index defined? for warnings-safety. r4495@asus: jeremy | 2006-04-29 13:32:24 -0700 Wrap content_columns redefinitions with silence_warnings. r4496@asus: jeremy | 2006-04-29 13:35:28 -0700 Wrap more redefinitions with silence_warnings. r4829@asus: jeremy | 2006-07-08 10:59:20 -0700 abstract unit, fix warnings r4830@asus: jeremy | 2006-07-08 11:06:12 -0700 Use parens to silence warning. r4831@asus: jeremy | 2006-07-08 11:06:48 -0700 Use parens to silence warning. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reset @html_document between requests so assert_tag works. Closes #4810.Jeremy Kemper2006-07-081-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update render :partial documentation. Closes #5646.Jeremy Kemper2006-07-081-14/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Integration tests behave well with render_component. Closes #4632.Jeremy Kemper2006-07-081-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clarify partial filename constraints. Closes #1161.Jeremy Kemper2006-07-071-0/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added exception handling of missing layouts (closes #5373) [chris@ozmm.org]David Heinemeier Hansson2006-07-051-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #5429)David Heinemeier Hansson2006-07-051-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fix (closes #5576)David Heinemeier Hansson2006-07-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the flash should be reset when reset_session is called (closes ↵David Heinemeier Hansson2006-07-051-1/+7
| | | | | | #5584) [shugo@ruby-lang.org] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4748@asus: jeremy | 2006-06-29 22:40:35 -0700Jeremy Kemper2006-06-301-1/+1
| | | | | | | Loosen urlencoded content type check. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed proper form-encoded parameter parsing for requests with "Content-Type: ↵David Heinemeier Hansson2006-06-301-1/+1
| | | | | | application/x-www-form-urlencoded; charset=utf-8" (note the presence of a charset directive) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add route_name_path method to generate only the path for a named routes. For ↵Nicholas Seckar2006-06-302-37/+45
| | | | | | example, map.person will add person_path. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix CGI extensions when they expect string but get nil in Windows. Closes ↵Marcel Molina2006-06-281-1/+1
| | | | | | #5276 [mislav@nippur.irb.hr] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* documentation fixes for ActionController::Verification::ClassMethods verify ↵Rick Olson2006-06-211-5/+10
| | | | | | method. Closes #4310. [oleg.frolov@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix indent in pagination documentation. Closes #4990. [Kevin Clark]Rick Olson2006-06-211-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Determine the correct template_root for deeply nested components. Closes #2841.Jeremy Kemper2006-06-211-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that routes with *path segments in the recall can generate URLs. [Rick]Rick Olson2006-06-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Hash.create_from_xml(string) which will create a hash from a XML ↵David Heinemeier Hansson2006-06-162-1153/+74
| | | | | | string and even typecast if possible [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de