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
|
9fb6a54a16
|
Added fourth option to process in test cases to specify the content of the flash #949 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1009 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 21:43:25 +00:00 |
|
David Heinemeier Hansson
|
f569a14318
|
Added Verifications that allows you to specify preconditions to actions in form of statements like <tt>verify :only => :update_post, :params => "admin_privileges", :redirect_to => { :action => "settings" }</tt>, which ensure that the update_post action is only called if admin_privileges is available as a parameter -- otherwise the user is redirected to settings. #897 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 21:41:10 +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
|
a5b55c6b9f
|
Removed old UrlWriter methods that are no longer in use after Routes #942
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-26 13:31:01 +00:00 |
|
David Heinemeier Hansson
|
b88fa4d1df
|
Routes: *path items should use arrays #883
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-21 00:40:51 +00:00 |
|
David Heinemeier Hansson
|
0919dbf6b6
|
Routes: Convert results of #to_param to strings #879
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@947 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 22:44:12 +00:00 |
|
David Heinemeier Hansson
|
a61360688c
|
Changed .htaccess to allow dispatch.* to be called from a sub-directory as part of the push with Action Pack to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke] Fixed routing and helpers to make Rails work on non-vhost setups #826 [Nicholas Seckar/Tobias Luetke]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@945 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 22:02:22 +00:00 |
|
David Heinemeier Hansson
|
a35cf348bf
|
Added a much improved Flash module that allows for finer-grained control on expiration and allows you to flash the current action #839 [Caio Chassot]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@942 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 19:12:53 +00:00 |
|
David Heinemeier Hansson
|
6cd3bda32f
|
Fixed form helpers to query Model#id_before_type_cast instead of Model#id as a temporary workaround for Ruby 1.8.2 warnings #818 [DeLynn B]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@934 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 15:08:30 +00:00 |
|
David Heinemeier Hansson
|
1b93da3262
|
Added TextHelper#simple_format as a non-dependency text presentation helper.Fixed TextHelper#markdown to use blank? instead of empty? so it can deal with nil strings passed #814 [Johan Sorensen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 15:03:32 +00:00 |
|
David Heinemeier Hansson
|
ebf6637918
|
Added that the html options disabled, readonly, and multiple can all be treated as booleans. So specifying <tt>disabled => :true</tt> will give <tt>disabled="disabled"</tt>. #809 [mindel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 14:49:37 +00:00 |
|
David Heinemeier Hansson
|
37a46151ec
|
Added path collection syntax for Routes that will gobble up the rest of the url and pass it on to the controller #830 [rayners]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 14:04:33 +00:00 |
|
David Heinemeier Hansson
|
f32cbb52a5
|
Added more FormTagHelper test cases #860 [Eric Hodel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@925 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-20 13:51:01 +00:00 |
|
David Heinemeier Hansson
|
9015ce4cc2
|
Fixed options_for_select on selected line issue #624 [Florian Weber]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@911 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-15 00:13:14 +00:00 |
|
David Heinemeier Hansson
|
193edfbfdb
|
Removed the reliance on PATH_INFO as it was causing problems for caching and inhibited the new non-vhost support #822 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-14 00:25:24 +00:00 |
|
David Heinemeier Hansson
|
9790233dfd
|
Moved image_tag to AssetTagHelper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-14 00:18:12 +00:00 |
|
David Heinemeier Hansson
|
5a4846a0d3
|
Added TagHelper#image_tag and deprecated UrlHelper#link_image_to (recommended approach is to combine image_tag and link_to instead)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@879 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-09 13:53:47 +00:00 |
|
David Heinemeier Hansson
|
688f0f6712
|
Fixed that map.connect should convert arguments to strings #780 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@855 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 14:16:25 +00:00 |
|
David Heinemeier Hansson
|
fd9967bca2
|
Added UrlHelper#link_to_if/link_to_unless to enable other conditions that just link_to_unless_current #757 [mindel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@852 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 14:06:33 +00:00 |
|
David Heinemeier Hansson
|
a22ed3d8c2
|
Use example.com domains to make rails RFC2606 compliant #708
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@840 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 12:27:06 +00:00 |
|
David Heinemeier Hansson
|
25b656fefa
|
Fixed that single quote was not escaped in a UrlHelper#link_to javascript confirm #549 [Scott Barron]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@837 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 12:07:13 +00:00 |
|
David Heinemeier Hansson
|
eb5ca2ea5f
|
Removed the default border on link_image_to (it broke xhtml strict) -- can be specified with :border => 0 #517 [?/caleb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@836 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 12:02:17 +00:00 |
|
David Heinemeier Hansson
|
dfac1cea3d
|
Fixed that form helpers would treat string and symbol keys differently in html_options (and possibly create duplicate entries) #112 [bitsweat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@833 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-06 11:50:41 +00:00 |
|
David Heinemeier Hansson
|
28a11969ce
|
Fix request.path_info and clear up LoadingModule behavior #754 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@817 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-03-01 02:04:54 +00:00 |
|
David Heinemeier Hansson
|
630638b00e
|
Fixed that Routes would raise NameErrors if a controller component contains characters that are not valid constant names #733 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@803 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-27 17:12:35 +00:00 |
|
David Heinemeier Hansson
|
8cddbf0d37
|
Added PATH_INFO access from the request that allows urls like the following to be interpreted by rails: http://www.example.com/dispatcher.cgi/controller/action -- that makes it possible to use rails as a CGI under lighttpd and would also allow (for example) Rublog to be ported to rails without breaking existing links to Rublog-powered blogs. #728 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@802 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-27 17:11:05 +00:00 |
|
David Heinemeier Hansson
|
02df588cf7
|
Fixed tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@786 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-24 11:50:59 +00:00 |
|
David Heinemeier Hansson
|
b7889524bf
|
Fix empty url_for with nested modules #707
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@782 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-24 01:38:10 +00:00 |
|
David Heinemeier Hansson
|
11a2bb91f5
|
Added some unit tests #706
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@775 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 23:53:55 +00:00 |
|
David Heinemeier Hansson
|
fd6abf0a59
|
Fixed tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 15:05:04 +00:00 |
|
David Heinemeier Hansson
|
41ea6963a3
|
Added Base#render_to_string to parse a template and get the result back as a string #479
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 14:57:08 +00:00 |
|
David Heinemeier Hansson
|
2bf29b3485
|
Added FormOptionsHelper#time_zone_select and FormOptionsHelper#time_zone_options_for_select to work with the new value object TimeZone in Active Record #688 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 12:54:58 +00:00 |
|
David Heinemeier Hansson
|
cd689cf22b
|
Fixed some tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-23 12:52:38 +00:00 |
|
David Heinemeier Hansson
|
f153f42469
|
Never end generated paths with a '/' #683
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-20 20:54:40 +00:00 |
|
David Heinemeier Hansson
|
acb3d2cf75
|
Fixed internal calling
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-20 00:02:02 +00:00 |
|
David Heinemeier Hansson
|
cf6d77600a
|
Tests and tweaks for components
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@706 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 23:51:59 +00:00 |
|
David Heinemeier Hansson
|
0011116592
|
Unit tests for rendering components
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@705 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 23:49:12 +00:00 |
|
David Heinemeier Hansson
|
cae0f46eda
|
Fixed a few tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@703 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 23:21:08 +00:00 |
|
David Heinemeier Hansson
|
9a5d6d6388
|
Added ActionView::Base.register_template_handler for easy integration of an alternative template language to ERb and Builder. See test/controller/custom_handler_test.rb for a usage example #656 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 17:22:37 +00:00 |
|
David Heinemeier Hansson
|
2a5fc27cea
|
Added AssetTagHelper that provides methods for linking a HTML page together with other assets, such as javascripts, stylesheets, and feeds.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 16:04:50 +00:00 |
|
David Heinemeier Hansson
|
ad1fe7dd27
|
Completed FormTagHelper by adding radio_button_tag and select_tag
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@688 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 13:09:09 +00:00 |
|
David Heinemeier Hansson
|
967339e4d3
|
Added FormTagHelper that provides a number of methods for creating form tags that doesn't rely on conventions with an object assigned to the template like FormHelper does. With the FormTagHelper, you provide the names and values yourself.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 12:49:14 +00:00 |
|
David Heinemeier Hansson
|
5eac7ad1d9
|
Updated tests for TextHelper#auto_link
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@685 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-19 12:19:20 +00:00 |
|
David Heinemeier Hansson
|
5760a6cb3e
|
Clear route defaults using :name => nil #663
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-18 23:53:18 +00:00 |
|
David Heinemeier Hansson
|
519fe7ccbc
|
Added URL escaping for routing #664
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-18 23:52:28 +00:00 |
|
David Heinemeier Hansson
|
37249f6a86
|
Fixed that assert_template_xpath_matches did not indicate when a path was not found #658 [Eric Hodel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-18 17:13:57 +00:00 |
|
David Heinemeier Hansson
|
b305756d9f
|
Added TextHelper#auto_link, TextHelper#auto_link_urls, and TextHelper#auto_link_email_addresses to turn those elements into ahrefs
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-18 14:06:36 +00:00 |
|
David Heinemeier Hansson
|
bc574a86ac
|
Skip Active Record tests in Action Pack if the SQLite database cant be brought up
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:28:13 +00:00 |
|
David Heinemeier Hansson
|
02e382a765
|
More tests for Routing related stuff
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-02-17 19:00:21 +00:00 |
|