Jamis Buck
|
f6ec9e3d66
|
Arrays sent via multipart posts are converted to strings #1032 [dj@omelia.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-10 12:21:25 +00:00 |
|
David Heinemeier Hansson
|
5add31eda4
|
CSS needs "red" not #red
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-06 09:48:48 +00:00 |
|
David Heinemeier Hansson
|
32c0e895bf
|
Fixed scaffolding to use the latest style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1380 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-02 20:13:02 +00:00 |
|
David Heinemeier Hansson
|
3162f386dc
|
Made Action View work with the new render :file/:partial style from the controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1379 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-02 20:12:34 +00:00 |
|
Jamis Buck
|
e4c047e489
|
render(:action) and render() are the only two render calls to use a layout by default. All others default to :layout => false. Also, allow :layout => true to be a synonym for :layout => nil.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-01 13:39:58 +00:00 |
|
Jamis Buck
|
6ce58318f5
|
render(:inline) defaults to :layout => false
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1372 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 09:12:12 +00:00 |
|
Jamis Buck
|
f8542a64b3
|
Make sure the benchmarking render method always returns the result of the render, regardless of whether logging is enabled or not.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 09:00:46 +00:00 |
|
Jamis Buck
|
f57ee365e1
|
render(:text), render(:partial), and render(:nothing) always default to :layout => false. This also fixes send_file, which was applying a layout if one existed for the current action.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1369 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 07:51:02 +00:00 |
|
Jamis Buck
|
613260606b
|
verify with :redirect_to won't redirect if a redirect or render has already been performed #1350
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1367 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 07:24:46 +00:00 |
|
Jamis Buck
|
00db6f0faa
|
render(:partial => "...") uses an empty hash for the local assigns #1365. render(:partial => true) is identical to the older render_partial()
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 07:20:37 +00:00 |
|
Jamis Buck
|
b6c13f2d70
|
Don't die when an attempt to delete a cache fails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 07:05:52 +00:00 |
|
David Heinemeier Hansson
|
79d9794f09
|
Updated unit test style
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1355 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 17:12:29 +00:00 |
|
David Heinemeier Hansson
|
c41f0cc720
|
Test for no layout on nothing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1354 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 16:59:55 +00:00 |
|
David Heinemeier Hansson
|
bdd16a75e6
|
render :nothing shouldnt cause layouts
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 16:57:51 +00:00 |
|
David Heinemeier Hansson
|
060ecf1a24
|
Set redirected_to proper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1352 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 16:52:54 +00:00 |
|
David Heinemeier Hansson
|
2f7c5f84e4
|
Cure some ills discovered with the refactoring
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1351 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 11:07:09 +00:00 |
|
David Heinemeier Hansson
|
da0c4c5c96
|
Deprecated all render_* methods in favor of consolidating all rendering behavior in Base#render(options). This enables more natural use of combining options, such as layouts
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1350 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 08:58:43 +00:00 |
|
David Heinemeier Hansson
|
0367317dd6
|
Deprecated redirect_to_path and redirect_to_url in favor of letting redirect_to do the right thing when passed either a path or url. Introduced r as a unified method for render (still under construction)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1349 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-22 07:43:05 +00:00 |
|
David Heinemeier Hansson
|
dab360e181
|
Added DoubleRenderError exception that'll be raised if render* is called twice #518 [Nicholas Seckar]. Fixed exceptions occuring after render has been called #1096 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-21 18:51:08 +00:00 |
|
David Heinemeier Hansson
|
7159402c6d
|
Fixed use of an integer as return code for renders, so render_text "hello world", 404 now works #1327
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1345 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-21 17:50:57 +00:00 |
|
David Heinemeier Hansson
|
997eb90c90
|
Made the post_format work with content-type
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1337 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-20 18:39:40 +00:00 |
|
David Heinemeier Hansson
|
24b13acd42
|
Made the post_format work with content-type
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-20 18:32:04 +00:00 |
|
David Heinemeier Hansson
|
9bf38dec69
|
Include flash in the list of attributes with accessors in the view
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1334 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-20 07:04:51 +00:00 |
|
David Heinemeier Hansson
|
d3704f888b
|
Fixed assert_redirect_to to work with redirect_to_path #869 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 19:19:58 +00:00 |
|
David Heinemeier Hansson
|
7160ab1c18
|
Fixed escaping of :method option in remote_form_tag #1218 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1328 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 19:08:16 +00:00 |
|
David Heinemeier Hansson
|
977671c226
|
Optimize ActionCacheFilter by using url_for less #1230 [skaen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:59:43 +00:00 |
|
David Heinemeier Hansson
|
caf6ff6a2f
|
Cache relative_url_root and optimize path #1232 [skaen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1325 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:55:50 +00:00 |
|
David Heinemeier Hansson
|
3a057ea4ac
|
Faster action_exempted? #1231 [skaen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1324 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:54:16 +00:00 |
|
David Heinemeier Hansson
|
45ee71af3c
|
Added Serbia and Montenegro to the country_select #1239 [todd@robotcoop.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1323 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:30:53 +00:00 |
|
David Heinemeier Hansson
|
dd8c92ea5b
|
Fixed Request#remote_ip in testing #1251 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1322 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:24:52 +00:00 |
|
David Heinemeier Hansson
|
473e5bde74
|
Fixed that compute_public_path should recognize external URLs, so image_tag("http://www.example.com/images/icon.gif") is not prefixed with the relative url path #1254 [victor-ronr-trac@carotena.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1321 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:06:12 +00:00 |
|
David Heinemeier Hansson
|
202d5c0751
|
Added support for descending year values in DateHelper#select_year, like select_year(Date.today, :start_year => 2005, :end_year => 1900), which would count down from 2005 to 1900 instead of the other way #1274 [nwoods@mail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 17:40:02 +00:00 |
|
David Heinemeier Hansson
|
26022d8d2a
|
Ajax docing #1282 [Dee.Zsombor@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1318 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 17:29:20 +00:00 |
|
David Heinemeier Hansson
|
496ee0cd1b
|
Fixed that FormHelper#checkbox should return a checked checkbox if the value is the same as checked_value #1286 [Florian Weber]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1317 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 17:27:08 +00:00 |
|
David Heinemeier Hansson
|
9b1fefbf54
|
Fixed doc #1291
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1315 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 17:14:35 +00:00 |
|
David Heinemeier Hansson
|
7ec91d4651
|
Fixed Form.disable in Prototype #1317 [Wintermute]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1311 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 16:45:53 +00:00 |
|
David Heinemeier Hansson
|
6ea6a725c4
|
Push to .org instead
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 16:42:47 +00:00 |
|
David Heinemeier Hansson
|
aa20834222
|
Added accessors to logger, params, response, session, and headers from the view, so you can write <% logger.info "stuff" %> instead of <% @logger.info "others" %> -- more consistent with the preferred way of accessing these attributes and collections from the controller
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1307 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 16:00:04 +00:00 |
|
David Heinemeier Hansson
|
68cdcf5ed3
|
Update docs to X-POST_DATA_MARSHAL
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1306 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-14 09:36:30 +00:00 |
|
David Heinemeier Hansson
|
cada2c71d3
|
Use X-POST_DATA_FORMAT instead of just POST_DATA_FORMAT
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-14 09:31:35 +00:00 |
|
David Heinemeier Hansson
|
86d2b2792a
|
Added support for POST data in form of YAML or XML, which is controller through the POST_DATA_MARSHAL header
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-14 08:38:37 +00:00 |
|
David Heinemeier Hansson
|
db11abbfba
|
Added support for POST data in form of YAML or XML, which is controller through the POST_DATA_MARSHAL header
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1303 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-14 08:36:19 +00:00 |
|
David Heinemeier Hansson
|
51f9c931ea
|
Fixed that render_partial_collection should always return a string (and not sometimes an array, despite <%= %> not caring)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1302 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-13 16:27:36 +00:00 |
|
David Heinemeier Hansson
|
8983a09752
|
Go straight to the class for asset_host
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-09 11:27:39 +00:00 |
|
David Heinemeier Hansson
|
45780be2a7
|
Added TextHelper#sanitize that can will remove any Javascript handlers, blocks, and forms from an input of HTML. This allows for use of HTML on public sites, but still be free of XSS issues. #1277 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-09 11:24:18 +00:00 |
|
David Heinemeier Hansson
|
b167248b21
|
Fixed the HTML scanner used by assert_tag where a infinite loop could be caused by a stray less-than sign in the input #1270 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-09 11:20:19 +00:00 |
|
David Heinemeier Hansson
|
8a41ea4588
|
Only gsub on a string
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-06 18:10:13 +00:00 |
|
David Heinemeier Hansson
|
409bc0970a
|
Added functionality to assert_tag, so you can now do tests on the siblings of a node, to assert that some element comes before or after the element in question, or just to assert that some element exists as a sibling #1226 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-06 16:42:01 +00:00 |
|
David Heinemeier Hansson
|
c971c24839
|
Changed RAILS_ASSET_HOST to become ActionController::Base.asset_host
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-06 05:10:36 +00:00 |
|
David Heinemeier Hansson
|
358a669390
|
Added better error handling for regexp caching expiration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-06 05:09:01 +00:00 |
|