aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Better fix for requireing a missing route file in unit testsDavid Heinemeier Hansson2005-02-171-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that routes werent being loaded in production environmentDavid Heinemeier Hansson2005-02-171-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Forget defaults :action if :controller changed at allDavid Heinemeier Hansson2005-02-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Routes drop the default for action when the controller changes #651David Heinemeier Hansson2005-02-171-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed the verbosity of using the AR storeDavid Heinemeier Hansson2005-02-171-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable diagnostics screen againDavid Heinemeier Hansson2005-02-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed https handling on other ports than 443 [Alan Gano]David Heinemeier Hansson2005-02-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move Controllers wrapper module away from environment.rb and into ↵David Heinemeier Hansson2005-02-151-1/+3
| | | | | | dependencies.rb git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved Active Support into its own gemDavid Heinemeier Hansson2005-02-151-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A hopefully more successful attempt at the Routing branch mergeDavid Heinemeier Hansson2005-02-1511-110/+421
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@617 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of routing merge.. investigating missing patchesDavid Heinemeier Hansson2005-02-1511-405/+45
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added routing itself.. wonder why that didnt make it through the mergeDavid Heinemeier Hansson2005-02-151-0/+260
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Merged back the Routing branchDavid Heinemeier Hansson2005-02-1510-45/+145
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stringify the parameters on follow_redirectDavid Heinemeier Hansson2005-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added follow_redirect method for functional tests that'll get-request the ↵David Heinemeier Hansson2005-02-121-1/+9
| | | | | | redirect that was made. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed whitespaceDavid Heinemeier Hansson2005-02-111-7/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed double requiring of models with the same name as the controllerDavid Heinemeier Hansson2005-02-111-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make the store less verbose when saving the session dataDavid Heinemeier Hansson2005-02-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that query params could be forced to nil on a POST due to the raw post ↵David Heinemeier Hansson2005-02-071-4/+4
| | | | | | fix #562 [moriq@moriq.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation snafus #575, #576, #577, #585David Heinemeier Hansson2005-02-0713-21/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that cookies shouldn't be frozen in TestRequest #571 [Eric Hodel]David Heinemeier Hansson2005-02-071-6/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Minor refactoring to prettifyDavid Heinemeier Hansson2005-02-061-8/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Catch ArgumentError not NameErrorDavid Heinemeier Hansson2005-01-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@514 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Raise LoadErrors separatelyDavid Heinemeier Hansson2005-01-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Comply to the new dependency reload systemDavid Heinemeier Hansson2005-01-251-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added @request.raw_post as a convenience access to ↵David Heinemeier Hansson2005-01-253-13/+23
| | | | | | @request.env['RAW_POST_DATA'] and fixed the patch problems with the session #534 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :application_prefix to url_for and friends that makes it easier to ↵David Heinemeier Hansson2005-01-241-1/+2
| | | | | | setup Rails in non-vhost environments #516 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Another swing at reloadingDavid Heinemeier Hansson2005-01-241-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the content-header was being set to application/octet_stream ↵David Heinemeier Hansson2005-01-221-1/+1
| | | | | | instead of application/octet-stream on send_date/file [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed no-binding fragment cachingDavid Heinemeier Hansson2005-01-202-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed the need for passing the binding when using CacheHelper#cacheDavid Heinemeier Hansson2005-01-201-6/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deactivated RAW_POST_DATA pending fixDavid Heinemeier Hansson2005-01-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A few missing filesDavid Heinemeier Hansson2005-01-201-0/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added TestResponse#binary_content that'll return as a string the data sent ↵David Heinemeier Hansson2005-01-201-0/+17
| | | | | | through send_data/send_file for testing #500 [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added @request.env['RAW_POST_DATA'] for people who need access to the data ↵David Heinemeier Hansson2005-01-201-0/+1
| | | | | | before Ruby's CGI has parsed it #505 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that all redirect and render calls now return true, so you can use the ↵David Heinemeier Hansson2005-01-202-7/+22
| | | | | | pattern of "do and return". Added that renders and redirects called in before_filters will have the same effect as returning false: stopping the chain. Added that only one render or redirect can happen per action. The first call wins and subsequent calls are ignored. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that a default fragment store wan't being set to MemoryStore as intendedDavid Heinemeier Hansson2005-01-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug where cookies wouldn't be set if a symbol was used instead of a ↵David Heinemeier Hansson2005-01-171-1/+1
| | | | | | string as the key git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assert_cookie_equal to assert the contents of a named cookieDavid Heinemeier Hansson2005-01-171-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed bug in page caching that prevented it from working at allDavid Heinemeier Hansson2005-01-171-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@447 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more informative error message for "file not found" situation in ↵David Heinemeier Hansson2005-01-161-1/+1
| | | | | | send_file #484 [Alexey] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Finished documentation for cachingDavid Heinemeier Hansson2005-01-151-64/+102
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed page caching problems with saving cached file fails for the index ↵David Heinemeier Hansson2005-01-151-5/+17
| | | | | | action and that it shouldnt cache files with GET/POST parameters #462 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added arrays as a value option for params in url_for and friends #467 [Eric ↵David Heinemeier Hansson2005-01-131-1/+6
| | | | | | Anderson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that controller tests can now assert on the use of cookies #466 [Alexey]David Heinemeier Hansson2005-01-131-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that send_file would "remember" all the files sent by adding to the ↵David Heinemeier Hansson2005-01-131-4/+4
| | | | | | headers again and again #458 [bitsweat] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed url rewriter confusion when the controller or action name was a ↵David Heinemeier Hansson2005-01-121-2/+2
| | | | | | substring of the controller_prefix or action_prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed url rewriter confusion when the controller name was a substring of the ↵David Heinemeier Hansson2005-01-121-2/+5
| | | | | | controller_prefix git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added option to turn off cachingDavid Heinemeier Hansson2005-01-111-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@394 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tweaks and tinkeringDavid Heinemeier Hansson2005-01-111-5/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de