David Heinemeier Hansson
|
fbd86c2017
|
Added BenchmarkHelper that can measure the execution time of a block in a template and reports the result to the log
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1240 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-27 08:17:25 +00:00 |
|
Sam Stephenson
|
71a616890b
|
Update to Prototype 1.2.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1228 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-19 11:16:50 +00:00 |
|
David Heinemeier Hansson
|
0dd497853a
|
More documentation #1148 [Alisdair McDiarmid]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-19 10:59:55 +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
|
bceb88ef9c
|
Fixed that you can now pass an alternative :href option to link_to_function/remote in order to point to somewhere other than # if the javascript fails or is turned off. You can do the same with form_remote_tag by passing in :action. #1113 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-18 05:15:17 +00:00 |
|
Sam Stephenson
|
d547c3f5ec
|
Update to Prototype 1.2.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-18 02:16:13 +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
|
8e8bf37aa9
|
Fixed DateHelper to return values on the option tags such that they'll work properly in IE with form_remote_tag #1024 [rscottmace@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1184 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 09:44:28 +00:00 |
|
David Heinemeier Hansson
|
ba96827b3d
|
Fixed FormTagHelper#check_box to respect checked #1049 [DelynnB]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 09:39:01 +00:00 |
|
David Heinemeier Hansson
|
c3ca5ab7a8
|
Added Element.toggle, Element.show, and Element.hide to the prototype javascript library. Toggle.display has been deprecated, but will still work #992 [Lucas Carlson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1181 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 07:52:50 +00:00 |
|
David Heinemeier Hansson
|
ffdd4bc251
|
Added AssetTagHelper#image_path, AssetTagHelper#javascript_path, and AssetTagHelper#stylesheet_path #1110 [Larry Halff]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 06:23:27 +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
|
82456d9392
|
Fixed partials handling
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-16 16:06:29 +00:00 |
|
David Heinemeier Hansson
|
f3e5e07982
|
Added submit_to_remote that allows you to trigger an Ajax form submition at the click of the submission button, which allows for multiple targets in a single form through the use of multiple submit buttons #930 [yrashk@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 05:44:43 +00:00 |
|
David Heinemeier Hansson
|
2ad8dc6a1f
|
Added :confirm option to link_to_remote just like link_to has #1082 [yrashk@fp.org.ua]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 05:21:37 +00:00 |
|
David Heinemeier Hansson
|
c29db9f210
|
Added minute_step as an option to select_minute (and the helpers that use it) to jump in larger increments than just 1 minute. At 15, it would return 0, 15, 30, 45 options #1085 [ordwaye@evergreen.edu]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 05:15:41 +00:00 |
|
David Heinemeier Hansson
|
988dc1e862
|
Improved tests for NumberHelper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-13 04:49:01 +00:00 |
|
David Heinemeier Hansson
|
6f5fcc4469
|
Made error_messages_for take a symbol as object_name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-12 17:44:28 +00:00 |
|
David Heinemeier Hansson
|
7140f65355
|
Moved TextHelper#human_size to NumberHelper#number_to_human_size, but kept an deprecated alias to the old method name
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-12 08:04:38 +00:00 |
|
David Heinemeier Hansson
|
5cd815addf
|
Fixed spelling of delimiter #1058
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 17:30:38 +00:00 |
|
David Heinemeier Hansson
|
ac4b4701c0
|
Fixed that radio buttons shouldn't have a default size attribute #1074 [hendrik@mans.de] Added ActionView::Helpers::InstanceTag::DEFAULT_RADIO_OPTIONS that contains a hash of default options for radio buttons #1074 [hendrik@mans.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 15:11:15 +00:00 |
|
David Heinemeier Hansson
|
90720a26f6
|
Fixed syntax error
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-07 08:37:26 +00:00 |
|
David Heinemeier Hansson
|
4bdb25da18
|
Update to the helper to abstract delimeting a number #1015
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-07 06:56:49 +00:00 |
|
David Heinemeier Hansson
|
1a22fb59c9
|
Added JavascriptHelper#periodically_call_remote in order to create areas of a page that update automatically at a set interval #945 [Jon Tirsen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1108 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-07 06:43:21 +00:00 |
|
David Heinemeier Hansson
|
480150e5fb
|
Fixed autolinking to work better in more cases #1013 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-06 15:22:32 +00:00 |
|
David Heinemeier Hansson
|
a87c1d4dd8
|
Made it possible to do text_field :account, :name in addition to text_field "account", "name"
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-04 15:43:17 +00:00 |
|
David Heinemeier Hansson
|
d3a64c04ec
|
Fixed javascript_include_tag to output type instead of language and conform to XHTML #1018 [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-03 16:23:56 +00:00 |
|
David Heinemeier Hansson
|
aa09c770e9
|
Added NumberHelper for common string representations like phone number, currency, and percentage #1015 [DeLynn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 15:14:57 +00:00 |
|
David Heinemeier Hansson
|
f7c61b629e
|
Added options to set cc, bcc, subject, and body for UrlHelper#mail_to #966 [DeLynn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1056 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 08:16:57 +00:00 |
|
David Heinemeier Hansson
|
7d09b8d723
|
Fixed include_blank for select_hour/minute/second #527 [edward@debian.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1055 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-02 07:54:01 +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
|
8499c24770
|
Added Effect.Puff and Effect.Appear #990, #996
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1046 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-31 11:53:06 +00:00 |
|
David Heinemeier Hansson
|
ea3016f5d9
|
Renamed DateHelper#distance_of_time_in_words_to_now to DateHelper#time_ago_in_words (old method name is still available as a deprecated alias)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-30 13:06:19 +00:00 |
|
David Heinemeier Hansson
|
c73a414a9a
|
Fixed references to element
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-28 23:57:43 +00:00 |
|
David Heinemeier Hansson
|
ce2fe88d53
|
Added Effect.Scale for smoothly scaling images or text up and down #972 [thomas@fesch.at] Added Effect.Squish for scaling down an element and making it disappear at the end #972 [thomas@fesch.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1033 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-28 23:32:24 +00:00 |
|
David Heinemeier Hansson
|
b0c0c9c2ef
|
Added Effect.Fade which smoothly turns opacity from 100 to 0 and then hides the element #960 [thomas@fesch.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1032 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-28 10:22:44 +00:00 |
|
David Heinemeier Hansson
|
ad6798f965
|
Fixed that pagination_helper would ignore :params #947 [Sebastian Kanthak]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-27 00:04:07 +00:00 |
|
David Heinemeier Hansson
|
92088a920b
|
Effects can just be used through the callbacks
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 23:43:29 +00:00 |
|
David Heinemeier Hansson
|
f7b89667ac
|
Fixed a couple of more js issues
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 23:41:04 +00:00 |
|
David Heinemeier Hansson
|
4c3d52ad66
|
Updated to prototype.js 1.1.0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1012 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 23:16:55 +00:00 |
|
David Heinemeier Hansson
|
520dae295b
|
Added include_seconds option as the third parameter to distance_of_time_in_words which will render "less than a minute" in higher resolution ("less than 10 seconds" etc) #944 [thomas@fesch.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 22:00:23 +00:00 |
|
David Heinemeier Hansson
|
48b4d28d81
|
Fixing JS bugs, renamed :position values
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1007 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 20:27:04 +00:00 |
|
David Heinemeier Hansson
|
8e76a5920e
|
Added other DOM manipulation positions than just replace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 15:35:06 +00:00 |
|
David Heinemeier Hansson
|
e79801d7f2
|
Fixed highlight effect
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1005 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 15:22:18 +00:00 |
|
David Heinemeier Hansson
|
ae5f3c7488
|
Added :highlight effect to do YFT automatically
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1004 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 15:01:11 +00:00 |
|
David Heinemeier Hansson
|
9ca9f95aee
|
Fixed Form.Serialize for the JavascriptHelper to also seriliaze password fields #934 [dweitzman@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1003 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 14:07:08 +00:00 |
|
David Heinemeier Hansson
|
3fe9d8ac35
|
Added JavascriptHelper#escape_javascript as a public method (was private) and made it escape both single and double quotes and new lines #940 [mortonda@dgrmm.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1002 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 14:03:55 +00:00 |
|
David Heinemeier Hansson
|
b0d69b170f
|
Added TextHelper#human_size for formatting file sizes, like human_size(1234567) => 1.2 MB #943 [thomas@fesch.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 12:26:32 +00:00 |
|
David Heinemeier Hansson
|
4b3bb3d2b2
|
Fixed link_to :confirm #936 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@994 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 11:37:08 +00:00 |
|
David Heinemeier Hansson
|
771244a58c
|
Made getElementsByClassName actually work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-25 17:28:49 +00:00 |
|