aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* Only log status if there is one different from 200 setDavid Heinemeier Hansson2005-07-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed broken error handling #1827 [Stefan Kaes]David Heinemeier Hansson2005-07-251-5/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1920 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a catch-all eraserDavid Heinemeier Hansson2005-07-251-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1918 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance of test app req/sec with ~10% refactoring the render ↵David Heinemeier Hansson2005-07-245-170/+147
| | | | | | method #1823 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1915 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that env_qs might be nilDavid Heinemeier Hansson2005-07-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that env_qs might be nilDavid Heinemeier Hansson2005-07-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance with 5-30% through a series of Action Pack ↵David Heinemeier Hansson2005-07-2310-114/+156
| | | | | | optimizations #1811 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test for template to layout variable transferDavid Heinemeier Hansson2005-07-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expiring a cache that doesnt exist is bliss not badDavid Heinemeier Hansson2005-07-221-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed caching/expiration/hit to report using the DEBUG log level and ↵David Heinemeier Hansson2005-07-221-9/+9
| | | | | | errors to use the ERROR log level instead of both using INFO git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for per-action session management #1763Jamis Buck2005-07-223-3/+80
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1886 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixes #1775, #1776 [jon@instance-design.co.uk]David Heinemeier Hansson2005-07-221-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1878 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved rendering speed on complicated templates by up to 25% #1234 ↵David Heinemeier Hansson2005-07-211-0/+1
| | | | | | [Stephan Kaes]. This did necessasitate a change to the internals of ActionView#render_template that now has four parameters. Developers of custom view handlers (like Amrita) need to update for that. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix last changeset to pass unittestsNicholas Seckar2005-07-182-6/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1858 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed construction of get parameters for arraysNicholas Seckar2005-07-182-22/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix doc typos #1734 [moriq@moriq.com]David Heinemeier Hansson2005-07-171-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Log if filters return false and halt execution #1735 [Michael Koziarski]David Heinemeier Hansson2005-07-171-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1848 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Base#expires_in(seconds)/Base#expires_now to control HTTP content ↵David Heinemeier Hansson2005-07-171-0/+23
| | | | | | cache headers #1755 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1845 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More pagination speed #1334 [Stefan Kaes]David Heinemeier Hansson2005-07-151-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1839 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix assert_routing with nested controllers. Closes #1582 and #1386.Nicholas Seckar2005-07-151-6/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add RouteSet#named_route so that RouteSet instance methods do not shadow ↵Nicholas Seckar2005-07-141-4/+12
| | | | | | available route names git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1834 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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