Rick Olson
|
5d54b8f07c
|
Add Mime::Type convenience methods to check the current mime type. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-15 16:25:46 +00:00 |
|
Jeremy Kemper
|
eb2dad2fe5
|
Revert [6086] and [6087] since they caused a major regression with functional tests in 1.2.2. References #7372.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-10 03:55:12 +00:00 |
|
Jeremy Kemper
|
916f9e5143
|
Performance: patch cgi/session to require digest/md5 once rather than per #create_new_id.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-10 02:44:32 +00:00 |
|
Thomas Fuchs
|
c9108f3e39
|
Add a :url_based_filename => true option to ActionController::Streaming::send_file, which allows URL-based filenames. [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-09 11:25:37 +00:00 |
|
David Heinemeier Hansson
|
06b1198736
|
Fix that FormTagHelper#submit_tag using :disable_with should trigger the onsubmit handler of its form if available [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-06 17:48:38 +00:00 |
|
Rick Olson
|
2782c37bdf
|
Fix #render_file so that TemplateError is called with the correct params and you don't get the WSOD. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6130 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-05 05:39:23 +00:00 |
|
Rick Olson
|
92195e68a0
|
Fix issue with deprecation messing up #template_root= usage. Add #prepend_view_path and #append_view_path to allow modification of a copy of the
superclass' view_paths. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 22:27:45 +00:00 |
|
Rick Olson
|
69b0e5c44a
|
Allow Controllers to have multiple view_paths instead of a single template_root. Closes #2754 [John Long]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6120 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 20:47:05 +00:00 |
|
Rick Olson
|
19fbb31464
|
Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 20:04:40 +00:00 |
|
Rick Olson
|
7a49cb058f
|
fix form_for example in ActionController::Resources documentation. Closes #7362 [gnarg], Added enhanced docs to routing assertions. Closes #7359 [Rob Sanheim], improve error message for Routing for named routes. Closes #7346 [Rob Sanheim]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6113 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 19:07:08 +00:00 |
|
David Heinemeier Hansson
|
5c0227edc9
|
Make sure that the string returned by TextHelper#truncate is actually a string, not a char proxy -- that should only be used internally while working on a multibyte-safe way of truncating [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-31 17:55:09 +00:00 |
|
David Heinemeier Hansson
|
6b5238aade
|
Added FormBuilder#submit as a delegate for FormTagHelper#submit_tag [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-29 20:42:46 +00:00 |
|
Jeremy Kemper
|
09c708981c
|
TestSession supports indifferent access so session['foo'] == session[:foo] in your tests. Closes #7372.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6086 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 18:24:46 +00:00 |
|
Nicholas Seckar
|
2cc9c8135c
|
Allow Routes to generate all urls for a set of options by specifying :generate_all => true. References #1739.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 17:29:51 +00:00 |
|
Nicholas Seckar
|
17a9405b58
|
Change the query parser to map empty GET params to "" rather than nil. Closes #5694.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 17:00:17 +00:00 |
|
Jeremy Kemper
|
d6d94c7377
|
date_select and datetime_select take a :default option. Closes #7052.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 16:44:44 +00:00 |
|
Jeremy Kemper
|
ad29870c21
|
select :multiple => true suffixes the attribute name with [] unless already suffixed. Closes #6977.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 16:17:55 +00:00 |
|
Jeremy Kemper
|
c5f7997ebc
|
Improve routes documentation. Closes #7095.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 14:52:25 +00:00 |
|
Jeremy Kemper
|
dad60e7801
|
mail_to :encode => 'hex' also encodes the mailto: part of the href attribute as well as the linked email when no name is given. Closes #2061.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 14:16:25 +00:00 |
|
Jeremy Kemper
|
799f556fe1
|
Resource member routes require :id, eliminating the ambiguous overlap with collection routes. Closes #7229.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6062 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 08:20:04 +00:00 |
|
Jeremy Kemper
|
dde527440a
|
Remove deprecated assertions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 07:00:43 +00:00 |
|
Nicholas Seckar
|
b7df916249
|
Change session restoration to allow namespaced models to be autoloaded. Closes #6348.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 06:19:07 +00:00 |
|
Nicholas Seckar
|
35ec1c928f
|
Fix doubly appearing parameters due to string and symbol mixups. Closes #2551.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 05:29:32 +00:00 |
|
Nicholas Seckar
|
c7f50e9a88
|
Fix overly greedy rescues when loading helpers. Closes #6268
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6052 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 04:57:05 +00:00 |
|
David Heinemeier Hansson
|
28e77c9216
|
Fixed NumberHelper#number_with_delimiter to use "." always for splitting the original number, not the delimiter parameter (closes #7389) [ceefour]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-26 21:49:36 +00:00 |
|
Jeremy Kemper
|
ef1d0c1259
|
Autolinking recognizes trailing and embedded . , : ; Closes #7354.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 18:42:03 +00:00 |
|
Thomas Fuchs
|
8e82e29010
|
Make TextHelper::auto_link recognize URLs with colons in path correctly, fixes #7268
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-21 21:41:44 +00:00 |
|
Thomas Fuchs
|
0f8ed48bf5
|
Update trunk to script.aculo.us 1.7.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-19 20:56:31 +00:00 |
|
Rick Olson
|
fcd73821c2
|
Modernize cookie testing code, and increase coverage (Heckle++) #7101 [Kevin Clark]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5977 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:51:59 +00:00 |
|
Rick Olson
|
d2205ea5e9
|
Improve Test Coverage for ActionController::Routing::Route#matches_controller_and_action? (Heckle++) #7115 [Kevin Clark]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:49:43 +00:00 |
|
Rick Olson
|
582c028b14
|
Heckling ActionController::Resources::Resource revealed that set_prefixes didn't break when :name_prefix was munged. #7081 [Kevin Clark]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5974 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:46:02 +00:00 |
|
Rick Olson
|
4733182e56
|
Fix #distance_of_time_in_words to report accurately against the Duration class. #7114 [eventualbuddha]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5973 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:28:57 +00:00 |
|
Rick Olson
|
1ff84503b4
|
Refactor #form_tag to allow easy extending. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5972 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 06:25:30 +00:00 |
|
Sam Stephenson
|
9ec31ba741
|
Update to Prototype 1.5.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 05:01:29 +00:00 |
|
Jeremy Kemper
|
d38417fc02
|
RecordInvalid, RecordNotSaved => 422 Unprocessable Entity, StaleObjectError => 409 Conflict. References #7097.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 00:43:53 +00:00 |
|
Jamis Buck
|
b0a1aa7e7e
|
Allow fields_for to be nested in form_for
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5965 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-17 00:04:02 +00:00 |
|
Tobias Lütke
|
64a80ef756
|
Allow inGroupsOf and eachSlice to be called through rjs. Closes #7046
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-15 15:11:29 +00:00 |
|
Jeremy Kemper
|
55efae2720
|
Allow exempt_from_layout :rhtml. References #6742, closes #7026.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-14 13:57:44 +00:00 |
|
Rick Olson
|
dd6826eba3
|
Recognize the .txt extension as Mime::TEXT [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5912 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-12 20:54:04 +00:00 |
|
Jeremy Kemper
|
41198ad3ad
|
Fix parsing of array[] CGI parameters so extra empty values aren't included. Closes #6252.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5904 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-12 09:10:58 +00:00 |
|
Jeremy Kemper
|
fa619b051b
|
link_to_unless_current works with full URLs as well as paths. Closes #6891.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5896 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-12 07:02:38 +00:00 |
|
Rick Olson
|
10d0fcd4ec
|
Lookup the mime type for #auto_discovery_link_tag in the Mime::Type class. Closes #6941 [Josh Peek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-08 04:09:24 +00:00 |
|
Rick Olson
|
0727af86fc
|
Fix bug where nested resources ignore a parent singleton parent's path prefix. Closes #6940 [Dan Kubb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5872 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-08 01:07:48 +00:00 |
|
Michael Koziarski
|
31fb0deec1
|
Fix no method error with error_messages_on. Closes #6935 [nik.wakelin Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5870 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-07 08:56:57 +00:00 |
|
Rick Olson
|
2228fdbbae
|
Slight doc tweak to the ActionView::Helpers::PrototypeHelper#replace docs. Closes #6922 [Steven Bristol]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5863 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-05 20:59:31 +00:00 |
|
Rick Olson
|
b51727aa49
|
Slight doc tweak to #prepend_filter. Closes #6493 [Jeremy Voorhis]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5862 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-05 20:46:34 +00:00 |
|
Rick Olson
|
6c914d983e
|
Add more extensive documentation to the AssetTagHelper. Closes #6452 [Bob Silva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5859 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-05 20:42:03 +00:00 |
|
Rick Olson
|
730c8e8391
|
Clean up multiple calls to #stringify_keys in TagHelper, add better documentation and testing for TagHelper. Closes #6394 [Bob Silva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5857 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-05 20:32:03 +00:00 |
|
Rick Olson
|
f1b45df49a
|
[DOCS] fix reference to ActionController::Macros::AutoComplete for #text_field_with_auto_complete. Closes #2578 [Jan Prill]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-05 20:12:01 +00:00 |
|
Rick Olson
|
8219db5ee2
|
rollback [5833] and [5835]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5838 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-04 21:43:24 +00:00 |
|