David Heinemeier Hansson
|
8dca6586de
|
Fixed that script/server running against Mongrel should tail the proper log regardless of the environment [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-30 21:45:31 +00:00 |
|
Jeremy Kemper
|
ec75642e13
|
Merge [5645] from 1.2.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-28 23:41:04 +00:00 |
|
Jeremy Kemper
|
13e1d295d6
|
@response.redirect_url works with 201 Created responses: just return headers['Location'] rather than checking the response status.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5643 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-28 23:25:00 +00:00 |
|
Michael Koziarski
|
f6e85e4ec6
|
Merge [5641] to Trunk
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5642 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-27 23:56:27 +00:00 |
|
Jeremy Kemper
|
4887e53bf9
|
Use Location rather than location header.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-26 05:35:53 +00:00 |
|
David Heinemeier Hansson
|
093c725732
|
Fix that redirects should set "Location" header, not "location", and remove dead CGI.redirect
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-26 05:04:57 +00:00 |
|
Jeremy Kemper
|
ba1db2de63
|
uses_component_template_root looks at caller[0] which turns up the deprecation method rather than the controller. Use caller[1] instead.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5631 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-26 01:24:10 +00:00 |
|
Jeremy Kemper
|
1d564d97c5
|
strip_tags passes through blank args such as nil or "". Closes #6702, references #2229.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-26 01:00:10 +00:00 |
|
David Heinemeier Hansson
|
396b3f2bef
|
Dont set default charset if the response is sending a file. Closes #6689 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-25 19:29:10 +00:00 |
|
Tobias Lütke
|
ad62d461e8
|
Added CSV to Mime::SET so that respond_to csv will work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5623 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-24 16:35:00 +00:00 |
|
David Heinemeier Hansson
|
7c7d58937b
|
Fixed that HEAD should return the proper Content-Length header (that is, actually use @body.size, not just 0) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-23 23:52:25 +00:00 |
|
David Heinemeier Hansson
|
efd0bdd9ea
|
* Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you dont even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-23 23:24:47 +00:00 |
|
David Heinemeier Hansson
|
f15d52fc4a
|
Added text/csv as a default mime type and included example on how to make your own in config/environment.rb [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-23 17:25:52 +00:00 |
|
Nicholas Seckar
|
d1529a71d1
|
Update Routing to complain when :controller is not specified by a route. Closes #6669.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5607 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-22 16:31:00 +00:00 |
|
Thomas Fuchs
|
f5f3cdb1b6
|
Make sure .morph makes it in
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5602 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-20 23:45:16 +00:00 |
|
Jeremy Kemper
|
6fc8e143c6
|
Ensure render_to_string cleans up after itself when an exception is raised. Closes #6658. Great tests!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5591 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-20 11:03:21 +00:00 |
|
Jeremy Kemper
|
d41f380a2c
|
Extract template_changed_since? from compile_template? so plugins may override its behavior for non-file-based templates. Closes #6651.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-20 09:04:26 +00:00 |
|
Thomas Fuchs
|
de6ffba806
|
Update trunk w/ latest Prototype and script.aculo.us
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-19 23:01:32 +00:00 |
|
Jeremy Kemper
|
229ea65374
|
simple_format helper doesn't choke on nil. Closes #6644.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-19 09:57:16 +00:00 |
|
Thomas Fuchs
|
bc76044fde
|
Update Prototype in trunk to [5550]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-17 23:52:54 +00:00 |
|
Nicholas Seckar
|
f92d6a07d0
|
Reuse named route helper module between Routing reloads to prevent memory leaks.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-17 22:29:02 +00:00 |
|
Jeremy Kemper
|
96cca7db6d
|
ActionView::Base.erb_variable accessor names the buffer variable used to render templates. Defaults to _erbout; use _buf for erubis.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-17 13:10:23 +00:00 |
|
Jeremy Kemper
|
495f113e57
|
Template errors: fix strange deprecation warnings on e.g. @flash.inspect, remove deprecated @assigns, handle sources without a discernable line number, clean up code.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-17 12:47:08 +00:00 |
|
Jeremy Kemper
|
0100a79913
|
Deprecate standalone components.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-16 06:40:37 +00:00 |
|
Jeremy Kemper
|
65ca37b7b7
|
ARStore needs a data reader method. Closes #4795.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5531 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-15 20:08:43 +00:00 |
|
Jeremy Kemper
|
9339db70c6
|
Remove dead abort_tests method.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-15 12:50:51 +00:00 |
|
Jeremy Kemper
|
c9e0002d36
|
assert_select_rjs :remove
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5525 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-15 12:45:52 +00:00 |
|
Jeremy Kemper
|
079d684a37
|
Fix failing test fallback when neither SQLite 2 or 3 is available.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-15 12:43:34 +00:00 |
|
Jeremy Kemper
|
56e3e2fde5
|
Always clear model associations from session. Closes #4795.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-13 18:59:01 +00:00 |
|
Jeremy Kemper
|
f0753992ab
|
test controller rescues
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-13 02:03:50 +00:00 |
|
Jeremy Kemper
|
f8486e8f10
|
silence const_set warning
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-13 01:17:10 +00:00 |
|
Jeremy Kemper
|
afe49dcf5b
|
update_element_function is deprecated
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-13 00:53:20 +00:00 |
|
Sam Stephenson
|
c192bdfc74
|
Update to Prototype 1.5.0_rc2
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-12 03:44:35 +00:00 |
|
Sam Stephenson
|
4c7dcb5dbf
|
Remove JavaScriptLiteral in favor of ActiveSupport::JSON::Variable.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-11 18:29:11 +00:00 |
|
Jeremy Kemper
|
73cc10305e
|
Sync ActionController::StatusCodes::STATUS_CODES with http://www.iana.org/assignments/http-status-codes. Closes #6586.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-11 01:44:37 +00:00 |
|
Jeremy Kemper
|
0342393b30
|
Multipart form values may have a content type without being treated as uploaded files if they do not provide a filename. Closes #6401.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-09 18:52:19 +00:00 |
|
Jeremy Kemper
|
57313c54bf
|
assert_response supports symbolic status codes. Closes #6569.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-07 21:45:10 +00:00 |
|
Jeremy Kemper
|
5c2e9a5e48
|
Cache parsed query parameters. Closes #6559.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-06 21:43:21 +00:00 |
|
Jeremy Kemper
|
5b50504f48
|
Missed pluralize nil test in [5431].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-06 21:39:16 +00:00 |
|
Thomas Fuchs
|
e52e803a55
|
Deprecate JavaScriptHelper#update_element_function, which is superseeded by RJS [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-06 09:40:30 +00:00 |
|
Jeremy Kemper
|
4d5b913fcf
|
pluralize helper interprets nil as zero. Closes #6474.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-05 05:04:21 +00:00 |
|
Jeremy Kemper
|
080ec9803e
|
Fix invalid test fixture exposed by stricter Ruby 1.8.5 multipart parsing. Closes #6524.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-05 02:40:44 +00:00 |
|
Jeremy Kemper
|
7f6c5a5654
|
Set ActionView::Base.default_form_builder once rather than passing the :builder option to every form or overriding the form helper methods.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-03 04:16:58 +00:00 |
|
Jeremy Kemper
|
a8bb66ace8
|
Deprecate expire_matched_fragments. Use expire_fragment instead. Closes #6535.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-02 19:29:40 +00:00 |
|
Jeremy Kemper
|
99b607d717
|
Consistent default handling in ActionView render. Closes #6534.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-02 19:21:53 +00:00 |
|
Jeremy Kemper
|
eb7964865a
|
Document that expire_fragment with regexp arg fails on memcached and other caches which don't support iteration over all keys. Closes #6291.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-11-02 08:48:44 +00:00 |
|
Thomas Fuchs
|
fe39ac7e56
|
Update to latest Prototype, which doesnt serialize disabled form elements, adds clone() to arrays, empty/non-string Element.update() and adds a fixes excessive error reporting in WebKit beta versions [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-28 16:55:06 +00:00 |
|
David Heinemeier Hansson
|
b9ffbd3166
|
Fix scaffolding from using deprecated :post => true (closes #6499)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5366 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-26 15:56:48 +00:00 |
|
Jamis Buck
|
29746e7647
|
make sure link_to_image is deprecated as well as link_image_to
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5361 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-24 18:30:50 +00:00 |
|
Jamis Buck
|
897ffd63d2
|
Use new deprecate syntax so that alternatives are given with the warning
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5358 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-24 17:14:50 +00:00 |
|