aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed that number_to_currency(1000, {:precision => 0})) should return ↵David Heinemeier Hansson2005-09-093-0/+5
| | | | | | "$1,000", instead of "$1,000." #2122 [sd@notso.net] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactored away all the legacy validate_options calls and replaced them with ↵David Heinemeier Hansson2005-09-091-9/+2
| | | | | | Hash#assert_valid_keys git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix docs #2136 [coffee2code]David Heinemeier Hansson2005-09-091-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow link_to_remote to use any DOM-element as the parent of the form ↵David Heinemeier Hansson2005-09-092-0/+16
| | | | | | elements to be submitted #2137 [erik@ruby-lang.nl] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added documentation for overwrite_params #2146 [Michael Shuerig]David Heinemeier Hansson2005-09-091-0/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that render :partial would fail when :object was a Hash (due to ↵David Heinemeier Hansson2005-09-096-3/+18
| | | | | | backwards compatibility issues) #2148 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed JavascriptHelper#auto_complete_for to only include unique items #2153 ↵David Heinemeier Hansson2005-09-093-1/+7
| | | | | | [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that onclick would be overridden even when special features werent usedDavid Heinemeier Hansson2005-09-082-0/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed all AssetHelper methods to work with relative paths, such that ↵David Heinemeier Hansson2005-09-083-1/+4
| | | | | | javascript_include_tag('stdlib/standard') will look in /javascripts/stdlib/standard instead of '/stdlib/standard/' #1963 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a broken testDavid Heinemeier Hansson2005-09-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* An explicit include ClassInheritableAttributes is no longer needed #1948 ↵David Heinemeier Hansson2005-09-081-2/+0
| | | | | | [Caleb Tennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Avoid extending view instance with helper modules each request. Closes #1979Nicholas Seckar2005-09-083-18/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance improvements to CGI methods. Closes #1980Nicholas Seckar2005-09-083-9/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use this.href, not unexisting urlDavid Heinemeier Hansson2005-09-072-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2150 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :post option to UrlHelper#link_to that makes it possible to do POST ↵David Heinemeier Hansson2005-09-073-21/+61
| | | | | | requests through normal ahref links using Javascript git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Symbolize the keys of overwritten parameters. Really closes #1909.Nicholas Seckar2005-09-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix overwrite params. Closes #1909Nicholas Seckar2005-09-063-0/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix fragment benchmark calls and limit timings to 5 decimalsDavid Heinemeier Hansson2005-09-062-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only do benchmarking if log level matches and log cachingDavid Heinemeier Hansson2005-09-062-20/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added use_silence parameter to ActiveRecord::Base.benchmark that can be ↵David Heinemeier Hansson2005-09-062-2/+28
| | | | | | passed false to include all logging statements during the benchmark block. Added ActionController::Base.benchmark and ActionController::Base.silence to allow for easy benchmarking and turning off the log git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated vendor copy of html-scanner to support better xml parsingJamis Buck2005-09-053-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2131 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :popup option to UrlHelper#link_to #1996 [gabriel.gironda@gmail.com]David Heinemeier Hansson2005-09-043-3/+54
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated the options_for_select to deal with the fact that Strings now ↵David Heinemeier Hansson2005-09-031-1/+1
| | | | | | implement :first git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added note about how pre-packaged error functionality can be easier to ↵David Heinemeier Hansson2005-09-031-0/+4
| | | | | | recreate yourself than attempt to overly tailor #1489 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use chop! instead of chop! for efficiencyJamis Buck2005-09-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Drop trailing \000 if present on RAW_POST_DATA (works around bug in Safari ↵Jamis Buck2005-09-022-1/+5
| | | | | | Ajax implementation) #918 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix observe_field to fall back to event-based observation if frequency <= 0 ↵Jamis Buck2005-09-022-4/+7
| | | | | | #1916 [michael@schubert.cx] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Allow use of the :with option for submit_to_remote #1936 ↵Jamis Buck2005-09-022-1/+3
| | | | | | [jon@instance-design.co.uk] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* AbstractRequest#domain returns nil when host is an ip address #2012 ↵Jamis Buck2005-09-023-0/+7
| | | | | | [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-012-3/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Yield @content_for_ variables to templates #2058 [Sam Stephenson]Jamis Buck2005-09-014-1/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make rendering an empty partial collection behave like :nothing => true ↵Jamis Buck2005-09-013-1/+12
| | | | | | #2080 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add option to specify the singular name used by pagination. Closes #1960Nicholas Seckar2005-08-312-2/+7
| | | | 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-302-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add dummy ActionView::Base.cache_template_loading accessor -- will be made ↵Nicholas Seckar2005-08-292-0/+5
| | | | | | functional again in short time git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made Upload Progress work with Prototype 1.4.0 and add some documentation ↵David Heinemeier Hansson2005-08-272-1/+53
| | | | | | for it #1847, #1876 [Thomas Fuchs/Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2059 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Render refactoring; render error reporting fixesNicholas Seckar2005-08-267-122/+232
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2058 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update changelogNicholas Seckar2005-08-261-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2055 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-232-11/+24
| | | | | | 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-233-1/+39
| | | | | | processed git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :use_short_month option to select_month helper to show month names as ↵Jamis Buck2005-08-223-2/+26
| | | | | | abbreviations git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add an :if option to session management, to allow programmatically enabling ↵Jamis Buck2005-08-172-2/+23
| | | | | | or disabling the session git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2031 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make link_to escape the javascript in the confirm option #1964 ↵Jamis Buck2005-08-143-1/+11
| | | | | | [nicolas.pouillard@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make assert_redirected_to properly check URL's passed as strings #1910 ↵Jamis Buck2005-08-064-3/+15
| | | | | | [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-053-2/+14
| | | | 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-013-6/+26
| | | | | | 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-314-1/+32
| | | | 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-313-1/+20
| | | | 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