aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Added conditional layouts like <tt>layout "weblog_standard", :except => ↵David Heinemeier Hansson2005-01-111-21/+63
| | | | | | :rss</tt> #452 [Marcel Molina] -- We are still missing unit tests for layouts in general, so please do contribute if you want some testing workout git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added MemCacheStore to fragment caching #449 [Lucas Carlson]David Heinemeier Hansson2005-01-111-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that MemCacheStore wasn't included by default and added default ↵David Heinemeier Hansson2005-01-112-1/+2
| | | | | | MemCache object pointing to localhost #447 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that host would choke when cgi.host returned nil #432 [Tobias Luetke]David Heinemeier Hansson2005-01-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed three issues with retrying breakpoints #417 [Florian Gross]David Heinemeier Hansson2005-01-101-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@370 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Some missing docsDavid Heinemeier Hansson2005-01-101-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated caching to include action caching as well and simplified the ↵David Heinemeier Hansson2005-01-101-43/+182
| | | | | | name/key reference to just be name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@368 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that all renders and redirects now return false, so they can be used ↵David Heinemeier Hansson2005-01-101-0/+2
| | | | | | as the last line in before_filters to stop execution. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Apparently the temp hack for functional tests was still neededDavid Heinemeier Hansson2005-01-101-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@363 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed temporary hack for test/unit problems that only worked for ↵David Heinemeier Hansson2005-01-101-16/+0
| | | | | | functional tests git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@362 5ecf4fe2-1ee6-0310-87b1-e25e094e27de