aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/action_view_overview.md
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-07-08 17:18:53 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-07-08 17:21:25 +0900
commit874fbdaad67a2698bef9ea512097270a4210a1fc (patch)
treec43b23d72998e80f089429d84b8305deaed18757 /guides/source/action_view_overview.md
parent19df76f75e24851b9073d6dab637f235fab69ae4 (diff)
downloadrails-874fbdaad67a2698bef9ea512097270a4210a1fc.tar.gz
rails-874fbdaad67a2698bef9ea512097270a4210a1fc.tar.bz2
rails-874fbdaad67a2698bef9ea512097270a4210a1fc.zip
1.9 Hash Syntax
Diffstat (limited to 'guides/source/action_view_overview.md')
-rw-r--r--guides/source/action_view_overview.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/action_view_overview.md b/guides/source/action_view_overview.md
index bd8e5ce4f2..75f2989f5b 100644
--- a/guides/source/action_view_overview.md
+++ b/guides/source/action_view_overview.md
@@ -1492,7 +1492,7 @@ number_to_human_size(1234567) # => 1.2 MB
Formats a number as a percentage string.
```ruby
-number_to_percentage(100, :precision => 0) # => 100%
+number_to_percentage(100, precision: 0) # => 100%
```
#### number_to_phone