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 |
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 |
David Heinemeier Hansson
|
1c71a5d25f
|
Upgraded NumberHelper with number_to_phone support international formats to comply with ITU E.123 by supporting area codes with less than 3 digits, added precision argument to number_to_human_size (defaults to 1) (closes #6421) [BobSilva]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5336 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-22 23:47:18 +00:00 |
David Heinemeier Hansson
|
a49e7d5c0c
|
Fixed that NumberHelper#number_to_delimiter should respect precision of higher than two digits (closes #6231) [phallstrom]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5249 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-10-09 00:59:19 +00:00 |
David Heinemeier Hansson
|
532627452d
|
Added special case for "1 Byte" in NumberHelper#number_to_human_size (closes #5593) [murpyh@rubychan.de]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-07-05 01:04:32 +00:00 |
Marcel Molina
|
363b79f942
|
Refactor human_size to exclude decimal place if it is zero.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-01-19 05:31:48 +00:00 |
David Heinemeier Hansson
|
afbfde9357
|
Fixed that number_to_currency(1000, {:precision => 0})) should return "$1,000", instead of "$1,000." #2122 [sd@notso.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-09 08:43:02 +00:00 |
David Heinemeier Hansson
|
665ab93761
|
Added :extension option to NumberHelper#number_to_phone #1361 [delynnb]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-16 06:33:10 +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
|
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 |