David Heinemeier Hansson
|
1edb807aff
|
Dont expire or read fragments if caching is turned off
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-02 07:49:55 +00:00 |
|
David Heinemeier Hansson
|
e6f3e5d900
|
Fixed action/fragment caching using the filestore when a directory and a file wanted to to use the same name. Now there's a .cache prefix that sidesteps the conflict #1188 [imbcmdth@hotmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 15:29:27 +00:00 |
|
David Heinemeier Hansson
|
537efa36d0
|
Doc fix #1200
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 13:36:40 +00:00 |
|
David Heinemeier Hansson
|
b4fe4daa84
|
Fixed assert_redirected_to to work with :only_path => false #1204 [Alisdair McDiarmid]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1251 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:34:02 +00:00 |
|
David Heinemeier Hansson
|
c29cfe389e
|
Check definition on constant not string
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:33:25 +00:00 |
|
David Heinemeier Hansson
|
6d0ddd818a
|
Fixed render_partial_collection to output an empty string instead of nil when handed an empty array #1202 [Ryan Carver]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:29:50 +00:00 |
|
David Heinemeier Hansson
|
5640f76970
|
Improved the speed of regular expression expirations for caching by a factor of 10 #1221 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:23:42 +00:00 |
|
David Heinemeier Hansson
|
fe00c275cd
|
Removed dumping of template assigns on the rescue page as it would very easily include a ton of data making page loads take seconds (and the information was rarely helpful) #1222
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1246 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:19:14 +00:00 |
|
David Heinemeier Hansson
|
61cafca6ea
|
Disregard expire methods when the controller hasnt been set, which essentially makes it such that the record observer callbacks are ignored when the sweeper shouldnt be active
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-27 17:40:51 +00:00 |
|
David Heinemeier Hansson
|
a2ef9778ce
|
Added ActionController::Caching::Sweeper as an improved an easier to use 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
|
2005-04-27 08:14:53 +00:00 |
|
David Heinemeier Hansson
|
734c69f241
|
Added conditions to around_filters just like before_filter and after_filter
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-27 06:42:12 +00:00 |
|
David Heinemeier Hansson
|
77af61be40
|
Added xml_http_request/xhr method for simulating XMLHttpRequest in functional tests #1151 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-19 16:34:44 +00:00 |
|
David Heinemeier Hansson
|
5462358cd3
|
Fixed that :get, :post, and the others should take a flash array as the 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
|
2005-04-19 11:04:38 +00:00 |
|
David Heinemeier Hansson
|
865874ab6a
|
Fixed stringification on all assigned hashes. The sacrifice is that 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
|
2005-04-19 10:26:03 +00:00 |
|
David Heinemeier Hansson
|
aa236c4425
|
Fixed that rendering a template would require a connection to the database #1146
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1222 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-19 09:57:15 +00:00 |
|
David Heinemeier Hansson
|
420b830b00
|
Fixed that rendering a template would require a connection to the database #1146
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1221 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-19 09:54:10 +00:00 |
|
David Heinemeier Hansson
|
7d01005514
|
Fixed documentation and prepared for release of 0.12
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-18 20:10:11 +00:00 |
|
David Heinemeier Hansson
|
3b9bf64130
|
Added support for web servers that use PATH_INFO instead of REQUEST_URI like IIS #1014 [BradG/Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1211 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-18 15:43:07 +00:00 |
|
David Heinemeier Hansson
|
e9681eb9c5
|
Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete coverage of REST functionality #1136 [joshknowles@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-18 14:15:26 +00:00 |
|
David Heinemeier Hansson
|
806cf6d76a
|
Added assert_tag and assert_no_tag as a much improved alternative to the deprecated assert_template_xpath_match #1126 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 16:43:48 +00:00 |
|
David Heinemeier Hansson
|
95e6c03de7
|
Added Request#xml_http_request? (and an alias xhr?) to that'll return true 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
|
2005-04-17 16:40:53 +00:00 |
|
David Heinemeier Hansson
|
7cda49248b
|
Fixed page caching for non-vhost applications living underneath the root #1004 [Ben Schumacher]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 14:10:24 +00:00 |
|
David Heinemeier Hansson
|
72c51356c5
|
Hide the deprecated methods from the docs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 11:47:54 +00:00 |
|
David Heinemeier Hansson
|
dca7efa67e
|
Deprecated the majority of all the testing assertions and replaced them with 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
|
2005-04-17 11:38:01 +00:00 |
|
David Heinemeier Hansson
|
e5b3d08a0a
|
Added that render_partial called from a controller will use the action name as default #828 [Dan Peterson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 09:25:54 +00:00 |
|
David Heinemeier Hansson
|
6acda705dc
|
Added that deleting a cookie should not just set it to an empty string but also instantly expire it #1118 [todd@robotcoop.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 07:18:39 +00:00 |
|
David Heinemeier Hansson
|
5e3b8b36fa
|
Fixed url_for(nil) in functional tests #1116 [Alisdair McDiarmid]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 06:18:33 +00:00 |
|
David Heinemeier Hansson
|
db16349bc1
|
Fixed error handling of broken layouts #1115 [Michael Schubert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 06:11:58 +00:00 |
|
David Heinemeier Hansson
|
6ee06ebec6
|
Changed render_partial to take local assigns as the second parameter instead of an explicit object and then the assigns
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-16 16:08:29 +00:00 |
|
David Heinemeier Hansson
|
ad24c6d756
|
Fixed pagination to work with joins #1034 [scott@sigkill.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 05:40:22 +00:00 |
|
David Heinemeier Hansson
|
7f558cbd05
|
Fixed that *rest parameter in map.connect couldn't accept an empty list #1037 [Dee.Zsombor@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 05:35:51 +00:00 |
|
David Heinemeier Hansson
|
bf1bcff2bd
|
Fixed that an exception would be thrown when an empty form was submitted #1090 [jan@ulbrich-boerwang.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 04:50:54 +00:00 |
|
David Heinemeier Hansson
|
a0403bd732
|
Fixed #1030
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 17:42:17 +00:00 |
|
David Heinemeier Hansson
|
2119e0699a
|
Fixed that the content-type for some browsers could include an additional \r which made wonky things happen #1067 [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 15:22:32 +00:00 |
|
David Heinemeier Hansson
|
87bed3af47
|
Fixed that in some circumstances controllers outside of modules may have 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
|
2005-04-10 15:01:35 +00:00 |
|
David Heinemeier Hansson
|
aefb36a688
|
Fixed Cache#expire_matched_fragments that couldn't recognize the difference between string and url_for options #1030 [skaes@web.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-07 06:35:27 +00:00 |
|
David Heinemeier Hansson
|
4ab40059b7
|
Added simulation of @request.request_uri in functional tests #1038 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1103 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-07 06:22:19 +00:00 |
|
David Heinemeier Hansson
|
91834e0c3f
|
Fixed that benchmarking times for rendering included db runtimes #987 [skaes@web.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 09:31:58 +00:00 |
|
David Heinemeier Hansson
|
7c8d2f28e1
|
Removed broken attempt to DRY module ClassMethod #970
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1069 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 09:29:43 +00:00 |
|
David Heinemeier Hansson
|
c788bcb416
|
Automatically extend the class which gets a module included with the ClassMethods module if it exists #970 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 09:14:19 +00:00 |
|
David Heinemeier Hansson
|
3532455404
|
Added pagination for scaffolding (10 items per page) #964 [mortonda@dgrmm.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1067 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 09:11:17 +00:00 |
|
David Heinemeier Hansson
|
ce96c5b30b
|
Added assert_no_cookie and fixed assert_cookie_equal to deal with non-existing cookies #979 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 08:54:25 +00:00 |
|
David Heinemeier Hansson
|
5d42774b62
|
Fixed :overwrite_param so it doesn't delete but reject elements from @request.parameters #982 [raphinou@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 08:35:04 +00:00 |
|
David Heinemeier Hansson
|
00121b2ca2
|
Added :method option to verify for ensuring that either GET, POST, etc is allowed #984 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 08:33:30 +00:00 |
|
David Heinemeier Hansson
|
998ab50974
|
Improved the message display on the exception handler pages #963 [Johan Sorensen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1048 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-31 14:46:11 +00:00 |
|
David Heinemeier Hansson
|
93e361e58a
|
Fixed that on very rare occasions, webrick would raise a NoMethodError: private method 'split' called for nil #1001 [Flurin Egger]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-31 11:46:50 +00:00 |
|
David Heinemeier Hansson
|
439a216dcb
|
Fixed problem with page caching #958 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1029 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-27 21:52:48 +00:00 |
|
David Heinemeier Hansson
|
dfadbfd3dc
|
Added ActionController::Base.page_cache_extension for setting the page cache file extension (the default is .html) #903 [Andreas]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-27 00:30:35 +00:00 |
|
David Heinemeier Hansson
|
216b1b7897
|
Fixed "bad environment variable value" exception caused by Safari, Apache, and Ajax calls #918
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-27 00:10:53 +00:00 |
|
David Heinemeier Hansson
|
d3e1e03056
|
Added :owerwrite_params back to url_for and friends -- it was AWL since the introduction of Routes #921 [raphinou]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-27 00:01:56 +00:00 |
|