aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller
Commit message (Collapse)AuthorAgeFilesLines
...
* AbstractRequest#domain returns nil when host is an ip address #2012 ↵Jamis Buck2005-09-021-0/+2
| | | | | | [kevin.clark@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2098 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionController documentation update #2051 [fbeausoleil@ftml.net]Jamis Buck2005-09-011-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add option to specify the singular name used by pagination. Closes #1960Nicholas Seckar2005-08-311-2/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use string key to set action_name for controllers. Closes #1968Nicholas Seckar2005-08-301-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Upload Progress work with Prototype 1.4.0 and add some documentation ↵David Heinemeier Hansson2005-08-271-0/+52
| | | | | | for it #1847, #1876 [Thomas Fuchs/Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routing to handle :some_param => nil betterNicholas Seckar2005-08-261-3/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add support for :include with pagination (subject to existing constraints ↵Jamis Buck2005-08-231-11/+22
| | | | | | for :include with :limit and :offset) #1478 [michael@schubert.cx] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Prevent the benchmark module from blowing up if a non-HTTP/1.1 request is ↵Jamis Buck2005-08-231-1/+1
| | | | | | processed git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add an :if option to session management, to allow programmatically enabling ↵Jamis Buck2005-08-171-2/+9
| | | | | | or disabling the session git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_redirected_to properly check URL's passed as strings #1910 ↵Jamis Buck2005-08-061-3/+2
| | | | | | [Scott Barron] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1971 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure :layout => false is always used when rendering inside a layoutJamis Buck2005-08-051-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use raise instead of assert_not_nil in Test::Unit::TestCase#process to ↵Jamis Buck2005-08-011-5/+6
| | | | | | ensure that the test variables (controller, request, response) have been set git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1963 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure assigns are built for every request when testing #1866Jamis Buck2005-07-311-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1961 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow remote_addr to be queried on TestRequest #1668Jamis Buck2005-07-311-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Really fix the syntax error issueDavid Heinemeier Hansson2005-07-281-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1952 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More fixes, but still brokenDavid Heinemeier Hansson2005-07-271-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1948 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixing the fix, but not quiteDavid Heinemeier Hansson2005-07-271-5/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed dynamic scaffolding [Stefan Kaes]David Heinemeier Hansson2005-07-272-6/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1940 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed #1774 againDavid Heinemeier Hansson2005-07-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1936 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Removed unused statementDavid Heinemeier Hansson2005-07-261-1/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed snag in status reportingDavid Heinemeier Hansson2005-07-261-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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