aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
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-142-37/+46
| | | | 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
* Improved documentation for :success/:failure callbacks #1699 [Thomas Fuchs]David Heinemeier Hansson2005-07-111-8/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1812 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Script.aculo.us: latest rev, new autocompleter features, memory leaks fixed ↵David Heinemeier Hansson2005-07-114-114/+303
| | | | | | #1695 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1810 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.3.1Sam Stephenson2005-07-111-39/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1804 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that Action View should always use the included Builder, never attempt ↵David Heinemeier Hansson2005-07-101-8/+2
| | | | | | to require the gem, to ensure compatibility git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1802 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
* Made JavaScriptHelper tests pass regardless of hash order #1656 [Sam Stephenson]David Heinemeier Hansson2005-07-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1794 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that nil options are not included in tags, so tag("p", :ignore => nil) ↵David Heinemeier Hansson2005-07-091-2/+3
| | | | | | now returns <p /> not <p ignore="" /> but that tag("p", :ignore => "") still includes it #1465 [michael@schuerig.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1789 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that UrlHelper#link_to_unless/link_to_if used html_escape on the name ↵David Heinemeier Hansson2005-07-091-1/+1
| | | | | | if no link was to be applied. This is unnecessary and breaks its use with images #1649 [joergd@pobox.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added even more goodies to script.aculo.us #1677 [Thomas Fuchs]David Heinemeier Hansson2005-07-092-75/+133
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1783 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed SQL Server test #1678 [Tom Ward]David Heinemeier Hansson2005-07-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1782 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
* Added :handle as an option to sortable_element to restrict the drag handle ↵David Heinemeier Hansson2005-07-071-1/+1
| | | | | | to a given class #1642 [thejohnny] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added a bunch of script.aculo.us features: Effect.ScrollTo, to smoothly ↵David Heinemeier Hansson2005-07-072-70/+116
| | | | | | scroll the page to an element, better Firefox flickering handling on SlideUp/SlideDown, Removed a possible memory leak in IE with draggables, Added support for cancelling dragging my hitting ESC #1644 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1759 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 JavascriptHelper#visual_effect to use camelize such that :blind_up ↵David Heinemeier Hansson2005-07-071-1/+1
| | | | | | will work #1639 [pelletierm@eastmedia.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1754 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-068-55/+71
| | | | 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
* Make new AJAX helpers aware of more of their options #1622 [Thomas Fuchs]David Heinemeier Hansson2005-07-061-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1729 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
* benchmark helper takes an optional log level, defaults to :info. Chose ↵Jeremy Kemper2005-07-051-9/+9
| | | | | | symbols log levels rather than Logger::FOO constants for simplicity. Added benchmark helper test suite. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1719 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
* Fix syntax errorDavid Heinemeier Hansson2005-07-051-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1715 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed logging of SQL statements to use the DEBUG level instead of INFO. ↵David Heinemeier Hansson2005-07-053-2/+6
| | | | | | 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