aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Fixed routing snafuDavid Heinemeier Hansson2005-07-061-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made documentation ready for release (AP)David Heinemeier Hansson2005-07-067-53/+63
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Retract the session fix until 0.13.1 to preserve the truthfulness of the bookDavid Heinemeier Hansson2005-07-061-16/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Partly tuned docs for release (AP)David Heinemeier Hansson2005-07-064-64/+174
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that a SessionRestoreError was thrown if a model object was placed in ↵David Heinemeier Hansson2005-07-061-7/+17
| | | | | | the session that wasn't available to all controllers git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1725 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation snafu with send_file -- the option is :stream, not ↵David Heinemeier Hansson2005-07-061-1/+1
| | | | | | :streaming #1621 [evl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move URI to the end for greater overviewDavid Heinemeier Hansson2005-07-051-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1716 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed logging of SQL statements to use the DEBUG level instead of INFO. ↵David Heinemeier Hansson2005-07-052-1/+5
| | | | | | Added logging of the request URI in the benchmark statement (makes it easy to grep for slow actions). Changed the default logging level in config/environment.rb to INFO for production (so SQL statements won't be logged) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1714 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed routing regression on index exceptionDavid Heinemeier Hansson2005-07-051-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1713 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routing fixJamis Buck2005-07-051-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1712 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2866@asus: jeremy | 2005-07-05 13:23:10 -0700Jeremy Kemper2005-07-051-4/+7
| | | | | | | Silence ARStore session activity in the logs. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1711 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2850@asus: jeremy | 2005-07-05 13:08:32 -0700Jeremy Kemper2005-07-051-6/+10
| | | | | | | Don't be strict about the order in which AR store methods are called. Allow e.g. session close followed by session close. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1710 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Backed out of #1694 as it broke requests that hit the cache with wrong ↵David Heinemeier Hansson2005-07-051-24/+12
| | | | | | argument type nil (expected Module) on WEBrick git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed recognize bug introduced with #1694David Heinemeier Hansson2005-07-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1704 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2840@asus: jeremy | 2005-07-05 00:42:27 -0700Jeremy Kemper2005-07-051-12/+24
| | | | | | | | | | | Ticket 1233 - Cache recognized routes r2842@asus: jeremy | 2005-07-05 00:53:16 -0700 update changelog r2843@asus: jeremy | 2005-07-05 00:54:11 -0700 cache recognized routes. clear cache with clear_recognized_routes_cache\! git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2837@asus: jeremy | 2005-07-05 00:34:31 -0700Jeremy Kemper2005-07-051-20/+19
| | | | | | | Don't restrict sessid compat. check to a single run. Reset cached column info before checking in case it's stale (may happen if you change table_name). Make the test a private class method. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2829@asus: jeremy | 2005-07-04 23:31:55 -0700Jeremy Kemper2005-07-051-3/+3
| | | | | | | cache protected_instance_variables git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1690 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2828@asus: jeremy | 2005-07-04 22:02:44 -0700Jeremy Kemper2005-07-051-6/+10
| | | | | | | cache controller_name and controller_path git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2827@asus: jeremy | 2005-07-04 21:30:06 -0700Jeremy Kemper2005-07-051-5/+4
| | | | | | | precompute action_name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2810@asus: jeremy | 2005-07-04 19:29:54 -0700Jeremy Kemper2005-07-041-8/+23
| | | | | | | correct marshaling and fingerprinting logic git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1682 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2807@asus: jeremy | 2005-07-04 18:15:18 -0700Jeremy Kemper2005-07-041-22/+22
| | | | | | | Fingerprint the marshaled data. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that hashes was not working properly when passed by GET to lighttpd ↵David Heinemeier Hansson2005-07-041-9/+25
| | | | | | #849 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2790@asus: jeremy | 2005-07-04 16:30:58 -0700Jeremy Kemper2005-07-041-52/+232
| | | | | | | smart active record session class. session class is pluggable; a basic SqlBypass class is provided. set CGI::Session::ActiveRecordStore.session_class = SqlBypass and set SqlBypass.connection = SomeARConnection. Further tests pending. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2789@asus: jeremy | 2005-07-04 16:17:35 -0700Jeremy Kemper2005-07-041-3/+8
| | | | | | | require active_record_store only if ActiveRecord is already defined. define DEFAULT_SESSION_OPTIONS only if it is undefined. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hashes sent via multipart post should be converted to strings #1032 ↵Jamis Buck2005-07-041-1/+1
| | | | | | [me@julik.nl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated html-scanner so that assert_tag(:tag => "p", :content => "foo") ↵Jamis Buck2005-07-043-6/+7
| | | | | | behaves as expected git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation about Manipulating the request collectionsDavid Heinemeier Hansson2005-07-041-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed assert_template nil will be true when no template was rendered #1565 ↵David Heinemeier Hansson2005-07-031-1/+1
| | | | | | [maceywj@telus.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed routing bug #1592David Heinemeier Hansson2005-07-031-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a bug with alternate layout #1468 [sam]David Heinemeier Hansson2005-07-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1614 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added more tests on assert_redirected_to #1581 [Rick Olson]David Heinemeier Hansson2005-07-021-2/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController::Base.enable_upload_progress for people who want to ↵David Heinemeier Hansson2005-07-021-0/+6
| | | | | | play with the experimental upload progress git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added JavascriptHelper#draggable_element and ↵David Heinemeier Hansson2005-07-021-1/+1
| | | | | | JavascriptHelper#drop_receiving_element to facilitate easy dragging and dropping through the script.aculo.us libraries #1578 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a DOCTYPE of HTML transitional to the HTML files generated by Rails ↵David Heinemeier Hansson2005-07-021-0/+2
| | | | | | #1124 [Michael Koziarski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1605 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make render(:inline) use locals #1556 [Michael Shuerig]David Heinemeier Hansson2005-07-011-1/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Load models and frequency typo on upoad progress #1555 [Sean Treadway]David Heinemeier Hansson2005-07-011-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix IE 30-sec timeout bug, make auto_complete_for even more delicious #1572 ↵David Heinemeier Hansson2005-07-011-0/+11
| | | | | | [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed mr recycle!David Heinemeier Hansson2005-06-301-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Uncommented request.recycle! as it breaks more than it fixes, left test case ↵David Heinemeier Hansson2005-06-301-5/+14
| | | | | | in, xal? git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* File upload progress seems to have problems on a variety of servers, marking ↵David Heinemeier Hansson2005-06-301-3/+2
| | | | | | as experimental for now and not including it in the docs git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1570 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Give auto_complete_for parameters, fix browser-autocompletion #1550David Heinemeier Hansson2005-06-291-5/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A bit more routes refactoring and testDavid Heinemeier Hansson2005-06-292-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Got back to functional testing harmonyDavid Heinemeier Hansson2005-06-291-33/+36
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rolled back changed to test_process as it broke havok this morningDavid Heinemeier Hansson2005-06-291-13/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r1475@iwill: jeremy | 2005-06-28 23:19:51 -0700Jeremy Kemper2005-06-294-14/+15
| | | | | | | | | | | | | | | Ticket 1543 - Fix test_process r1476@iwill: jeremy | 2005-06-29 00:20:53 -0700 Correct expected, actual order for assert_equal. Use new render method in TestController. r1477@iwill: jeremy | 2005-06-29 00:23:45 -0700 Generate route and assign parameters without modifying the user's params. r1480@iwill: jeremy | 2005-06-29 00:28:52 -0700 Update changelog. r1481@iwill: jeremy | 2005-06-29 00:34:02 -0700 Directly generate paths with a leading slash instead of tacking it on later. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes fail with leading slash #1540 [Nicholas Seckar]Jamis Buck2005-06-281-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Badly applied patch fixDavid Heinemeier Hansson2005-06-281-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-282-0/+577
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-282-7/+35
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* This patch modifies RouteSet#write_generation and RouteSet#write_recognition ↵David Heinemeier Hansson2005-06-281-1/+8
| | | | | | so that they return the source code used to recognize or generate URLs. #1531 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de