aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Added descriptions for new caching featuresDavid Heinemeier Hansson2005-04-271-0/+46
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added BenchmarkHelper that can measure the execution time of a block in a ↵David Heinemeier Hansson2005-04-271-0/+22
| | | | | | template and reports the result to the log git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added ActionController::Caching::Sweeper as an improved an easier to use ↵David Heinemeier Hansson2005-04-271-28/+62
| | | | | | sweeper. Added that Fragments#expire_fragment now accepts as a regular expression as the name thereby deprecating expire_matched_fragments. Fixed that fragments shouldn't use the current host and the path as part of the key like pages does git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added conditions to around_filters just like before_filter and after_filterDavid Heinemeier Hansson2005-04-271-2/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added xml_http_request/xhr method for simulating XMLHttpRequest in ↵David Heinemeier Hansson2005-04-193-3/+15
| | | | | | functional tests #1151 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.2.1Sam Stephenson2005-04-191-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that :get, :post, and the others should take a flash array as the ↵David Heinemeier Hansson2005-04-192-2/+4
| | | | | | third argument just like process #1144 [rails@cogentdude.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1227 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More documentation #1148 [Alisdair McDiarmid]David Heinemeier Hansson2005-04-192-2/+30
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed stringification on all assigned hashes. The sacrifice is that ↵David Heinemeier Hansson2005-04-193-2/+8
| | | | | | assigns[:person] wont work in testing. Instead assigns["person"] or assigns(:person) must be used. In other words, the keys of assigns stay strings but weve added a method-based accessor to appease the need for symbols. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1223 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that rendering a template would require a connection to the database #1146David Heinemeier Hansson2005-04-191-3/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that rendering a template would require a connection to the database #1146David Heinemeier Hansson2005-04-192-2/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed documentation and prepared for release of 0.12David Heinemeier Hansson2005-04-187-52/+52
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for web servers that use PATH_INFO instead of REQUEST_URI like ↵David Heinemeier Hansson2005-04-184-4/+61
| | | | | | IIS #1014 [BradG/Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete ↵David Heinemeier Hansson2005-04-182-7/+5
| | | | | | coverage of REST functionality #1136 [joshknowles@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that you can now pass an alternative :href option to ↵David Heinemeier Hansson2005-04-182-3/+5
| | | | | | link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.2.0Sam Stephenson2005-04-181-87/+192
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added assert_tag and assert_no_tag as a much improved alternative to the ↵David Heinemeier Hansson2005-04-178-1/+744
| | | | | | deprecated assert_template_xpath_match #1126 [Jamis Buck] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Request#xml_http_request? (and an alias xhr?) to that'll return true ↵David Heinemeier Hansson2005-04-172-0/+10
| | | | | | when the request came from one of the Javascript helper methods (Ajax). This can be used to give one behavior for modern browsers supporting Ajax, another to old browsers #1127 [Sam Stephenson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1194 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed page caching for non-vhost applications living underneath the root ↵David Heinemeier Hansson2005-04-172-5/+5
| | | | | | #1004 [Ben Schumacher] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Hide the deprecated methods from the docsDavid Heinemeier Hansson2005-04-172-31/+31
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecated the majority of all the testing assertions and replaced them with ↵David Heinemeier Hansson2005-04-179-390/+387
| | | | | | a much smaller core and access to all the collections the old assertions relied on. That way the regular test/unit assertions can be used against these. Added documentation about how to use it all. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed DateHelper to return values on the option tags such that they'll work ↵David Heinemeier Hansson2005-04-176-81/+85
| | | | | | properly in IE with form_remote_tag #1024 [rscottmace@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed FormTagHelper#check_box to respect checked #1049 [DelynnB]David Heinemeier Hansson2005-04-173-3/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that render_partial called from a controller will use the action name ↵David Heinemeier Hansson2005-04-174-1/+21
| | | | | | as default #828 [Dan Peterson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Element.toggle, Element.show, and Element.hide to the prototype ↵David Heinemeier Hansson2005-04-173-15/+30
| | | | | | javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added that deleting a cookie should not just set it to an empty string but ↵David Heinemeier Hansson2005-04-172-2/+5
| | | | | | also instantly expire it #1118 [todd@robotcoop.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added AssetTagHelper#image_path, AssetTagHelper#javascript_path, and ↵David Heinemeier Hansson2005-04-173-5/+77
| | | | | | AssetTagHelper#stylesheet_path #1110 [Larry Halff] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed url_for(nil) in functional tests #1116 [Alisdair McDiarmid]David Heinemeier Hansson2005-04-172-1/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up load paths to avoid unit test interaction #1113 ↵David Heinemeier Hansson2005-04-173-13/+1
| | | | | | [alles@atomicobject.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed error handling of broken layouts #1115 [Michael Schubert]David Heinemeier Hansson2005-04-172-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed render_partial to take local assigns as the second parameter instead ↵David Heinemeier Hansson2005-04-163-10/+31
| | | | | | of an explicit object and then the assigns git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed partials handlingDavid Heinemeier Hansson2005-04-162-4/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added submit_to_remote that allows you to trigger an Ajax form submition at ↵David Heinemeier Hansson2005-04-132-0/+16
| | | | | | the click of the submission button, which allows for multiple targets in a single form through the use of multiple submit buttons #930 [yrashk@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed pagination to work with joins #1034 [scott@sigkill.org]David Heinemeier Hansson2005-04-132-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that *rest parameter in map.connect couldn't accept an empty list ↵David Heinemeier Hansson2005-04-133-2/+11
| | | | | | #1037 [Dee.Zsombor@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added :confirm option to link_to_remote just like link_to has #1082 ↵David Heinemeier Hansson2005-04-132-1/+4
| | | | | | [yrashk@fp.org.ua] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added minute_step as an option to select_minute (and the helpers that use ↵David Heinemeier Hansson2005-04-133-1/+20
| | | | | | it) to jump in larger increments than just 1 minute. At 15, it would return 0, 15, 30, 45 options #1085 [ordwaye@evergreen.edu] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added KLOC counter for AR and AP. Combined theyre at ~9KLOCDavid Heinemeier Hansson2005-04-131-0/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that an exception would be thrown when an empty form was submitted ↵David Heinemeier Hansson2005-04-132-1/+3
| | | | | | #1090 [jan@ulbrich-boerwang.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved tests for NumberHelperDavid Heinemeier Hansson2005-04-132-5/+33
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made error_messages_for take a symbol as object_nameDavid Heinemeier Hansson2005-04-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Moved TextHelper#human_size to NumberHelper#number_to_human_size, but kept ↵David Heinemeier Hansson2005-04-125-36/+47
| | | | | | an deprecated alias to the old method name git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Doc fixDavid Heinemeier Hansson2005-04-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed #1030David Heinemeier Hansson2005-04-101-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed spelling of delimiter #1058David Heinemeier Hansson2005-04-101-14/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that the content-type for some browsers could include an additional \r ↵David Heinemeier Hansson2005-04-102-1/+3
| | | | | | which made wonky things happen #1067 [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated docs #1068David Heinemeier Hansson2005-04-101-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that radio buttons shouldn't have a default size attribute #1074 ↵David Heinemeier Hansson2005-04-103-7/+12
| | | | | | [hendrik@mans.de] Added ActionView::Helpers::InstanceTag::DEFAULT_RADIO_OPTIONS that contains a hash of default options for radio buttons #1074 [hendrik@mans.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed a few testsDavid Heinemeier Hansson2005-04-101-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1126 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that in some circumstances controllers outside of modules may have ↵David Heinemeier Hansson2005-04-102-1/+3
| | | | | | hidden ones inside modules. For example, admin/content might have been hidden by /content. #1075 [Nicholas Seckar] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de