Jeremy Kemper
|
1ac7cd56fe
|
Clean up the simply_helpful merge.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-18 00:36:14 +00:00 |
|
David Heinemeier Hansson
|
6e7b593992
|
Added record identifications to FormHelper#form_for and PrototypeHelper#remote_form_for [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-14 17:30:35 +00:00 |
|
David Heinemeier Hansson
|
c769ad8533
|
Removed deprecated parameters_for_method_reference concept (legacy from before named routes) [DHH] Added record identification with polymorphic routes for ActionController::Base#url_for and ActionView::Base#url_for [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-12 21:12:31 +00:00 |
|
David Heinemeier Hansson
|
edaf6baea7
|
Fixed that content_tag with a block will just return the result instead of concate it if not used in a ERb view #7857, #7432 [michael.niessner]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-02 22:30:41 +00:00 |
|
David Heinemeier Hansson
|
da257eb81b
|
Added the first part of Simply Helpful to core. The rest is pending a clean integartion of polymorphic urls [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-30 01:17:56 +00:00 |
|
Rick Olson
|
596112dcf8
|
remove useless mock test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6518 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-12 20:26:42 +00:00 |
|
Rick Olson
|
da6f5a1cb4
|
Change ActionView template defaults. Look for templates using the request format first, such as show.html.erb or show.xml.builder, before looking for the old defaults like show.erb or show.builder [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-02 00:02:11 +00:00 |
|
Rick Olson
|
cf865196fe
|
add ActionView::Base#find_template_extension_for tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-01 22:29:19 +00:00 |
|
Jeremy Kemper
|
67d5a1abed
|
Highlight helper highlights one or many terms in a single pass.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-30 01:19:01 +00:00 |
|
David Heinemeier Hansson
|
0228975a4e
|
Added that FormTagHelper#submit_tag will return to its original state if the submit fails and you're using :disable_with [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6480 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-27 19:42:54 +00:00 |
|
Jeremy Kemper
|
1def3f0073
|
Deprecation: remove deprecated update_element_function, start_form_tag, and end_form_tag. Use RJS and form_tag instead.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-13 05:24:10 +00:00 |
|
Jeremy Kemper
|
2823a56f14
|
Deprecation: remove deprecated human_size helper alias. Use number_to_human_size instead.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-13 05:18:49 +00:00 |
|
Jeremy Kemper
|
dfc1285aad
|
Deprecation: remove deprecated link_to_image and link_image_to methods. Use link_to(image_path(...), url).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-13 05:12:59 +00:00 |
|
Jeremy Kemper
|
83c8db9818
|
Deprecation: remove deprecated instance variables.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-13 03:49:52 +00:00 |
|
Jeremy Kemper
|
9cc32a9ec8
|
Give time_ago_in_words test some DST slop.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-11 12:29:20 +00:00 |
|
David Heinemeier Hansson
|
1dc56ba481
|
Fixed that FormTagHelper#text_area_tag should disregard :size option if it's not a string [Brendon Davidson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-03 18:04:44 +00:00 |
|
Jamis Buck
|
b1ff3b48e2
|
Set the original button value in an attribute of the button when using the :disable_with key with submit_tag
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-28 22:18:50 +00:00 |
|
David Heinemeier Hansson
|
9b854c22b1
|
Added subdirectory test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-21 15:58:42 +00:00 |
|
David Heinemeier Hansson
|
7f55931f80
|
Make sure that the filesystem is not involved with asset hosting
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-21 15:28:37 +00:00 |
|
David Heinemeier Hansson
|
aad7fbde68
|
Added caching option to AssetTagHelper#stylesheet_link_tag and AssetTagHelper#javascript_include_tag [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-18 23:54:20 +00:00 |
|
Jeremy Kemper
|
c9260c556c
|
Add request protocol to asset host if not given. Prefer setting asset host as hostname only, no request protocol.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6162 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-18 07:23:57 +00:00 |
|
Jeremy Kemper
|
90c1207c38
|
Work around the two connection per host browser limit: use asset%d.myapp.com to distribute asset requests among asset[0123].myapp.com. Use a DNS wildcard or CNAMEs to map these hosts to your asset server. See http://www.die.net/musings/page_load_time/ for background.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-18 06:44:20 +00:00 |
|
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 |
|
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
|
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
|
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
|
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
|
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
|
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
|
0eacdcf9a3
|
Use a consistent load path to avoid double requires. Fix some scattered Ruby warnings.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 07:16:55 +00:00 |
|
Michael Koziarski
|
768b60e60d
|
Add error_messages and error_message_on to the default FormBuilder. Closes #6939 [nik.wakelin]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-26 03:38:23 +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 |
|
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 |
|
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
|
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 |
|
Jeremy Kemper
|
d5f642294c
|
test javascript include with and without application.js
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5875 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-08 17:30:46 +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 |
|
Jeremy Kemper
|
0eabcfd856
|
Revert failing test from [5847].
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5873 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-08 02:45:57 +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
|
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 |
|
David Heinemeier Hansson
|
73499158df
|
Fixed that webrick would strip leading newlines and hang connection (closes #4156) [psross]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5847 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-05 04:09:38 +00:00 |
|
Jeremy Kemper
|
a0b1ac2ef8
|
Fix date helper test when run on 31st day of the month! Closes #6907. [mutru]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5826 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-01 01:36:18 +00:00 |
|
Michael Koziarski
|
810d0ade2b
|
Make error_message_on handle nil objects. [dan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5799 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-27 20:46:12 +00:00 |
|
Jeremy Kemper
|
7f32a85464
|
Fix date helper :include_blank regression. Closes #3811. [mhw]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-20 18:39:41 +00:00 |
|
Jeremy Kemper
|
2570f408f0
|
Work around a cross-platform number_to_precision inconsistency in unit tests. Closes #6315. [jesperron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-17 01:00:29 +00:00 |
|
Rick Olson
|
d833645cd8
|
Fix HTML::Node to output double quotes instead of single quotes. Closes #6845 [mitreandy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5718 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-12-14 20:56:03 +00:00 |
|