aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
* Provide correct defaults for Named Routes which do not specify :actionNicholas Seckar2005-07-141-3/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made pagination faster #1334 [Stefan Kaes]David Heinemeier Hansson2005-07-141-21/+21
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1832 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix rescue handling to erase both render and redirect resultsNicholas Seckar2005-07-141-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1827 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Generate URLs for :action => index when :action => nil is supplied.Nicholas Seckar2005-07-141-4/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Named routes should not provide nil values to url_for. Includes factoring ↵Nicholas Seckar2005-07-131-5/+18
| | | | | | and extra testcases. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r3023@asus: jeremy | 2005-07-12 23:43:39 -0700Jeremy Kemper2005-07-131-5/+0
| | | | | | | | | | | | | | | | | Remove superfluous inherited override in Dependencies. r3024@asus: jeremy | 2005-07-12 23:54:28 -0700 Make test the default railties rake target. r3025@asus: jeremy | 2005-07-12 23:55:27 -0700 Encapsulate dispatch call in dispatcher test. r3026@asus: jeremy | 2005-07-12 23:56:14 -0700 Expand dispatcher mock to match full method signature for process. r3027@asus: jeremy | 2005-07-12 23:57:24 -0700 Look for app-specific generators in RAILS_ROOT/generators instead of RAILS_ROOT/script/generators. r3028@asus: jeremy | 2005-07-13 00:00:47 -0700 Update changelog. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Worked around a Safari bug where it wouldn't pass headers through if the ↵David Heinemeier Hansson2005-07-121-2/+3
| | | | | | response was zero length by having render :nothing return ' ' instead of '' git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make Request#subdomains handle "foo.foo.com" correctlyJamis Buck2005-07-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that auto_complete_for didn't force the input string to lower case ↵David Heinemeier Hansson2005-07-111-1/+1
| | | | | | even as the db comparison was git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1815 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made ready for release of 0.13.1David Heinemeier Hansson2005-07-111-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1814 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation for :action/:template confusion #1643David Heinemeier Hansson2005-07-111-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1813 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Better documentation for Calling multiple redirects or renders #1687 [courtenay]David Heinemeier Hansson2005-07-101-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1795 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved error message for DoubleRenderErrorJamis Buck2005-07-091-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1779 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r2932@asus: jeremy | 2005-07-08 14:21:36 -0700Jeremy Kemper2005-07-081-4/+4
| | | | | | | Silence find_by_session_id also. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1771 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Routes now raise an exception if a path component is misconfigured.Nicholas Seckar2005-07-081-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routes to generate proper URLs when given Fixnum defaultsNicholas Seckar2005-07-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow RouteSet#recognition_failed to be used to handle unknown URL forwardingNicholas Seckar2005-07-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Enable routes to recognize uppercase controller names. Closes #1635Nicholas Seckar2005-07-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Properly unescape recognized path components. Fixes #1651.Nicholas Seckar2005-07-071-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved testing of functional test setup.Nicholas Seckar2005-07-071-1/+37
| | | | | | | | | | | | Fixed functional test setup so that :controller and :action are stored into path_parameters using string keys. Added with_routing test helper which can be used to dynamically replace the current set of routes inside a unit test. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed routing to allow for testing of *path components #1650 [Nicholas Seckar]David Heinemeier Hansson2005-07-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that named routes didn't use the default values for action and ↵David Heinemeier Hansson2005-07-071-2/+3
| | | | | | possible other parameters #1534 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that a SessionRestoreError was thrown if a model object was placed in ↵David Heinemeier Hansson2005-07-061-23/+16
| | | | | | the session that wasn't available to all controllers. This means that it's no longer necessary to use the 'model :post' work-around in ApplicationController to have a Post model in your session. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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