Merge pull request #251 from babybeasimple/master

add number_to_currency helper snippet
This commit is contained in:
Eustáquio Rangel 2013-07-29 06:35:32 -07:00
commit f57162262b
2 changed files with 4 additions and 1 deletions

View File

@ -103,6 +103,8 @@ snippet lipp
<%= link_to "${1:Link text...}", ${2:model}s_path %>
snippet lt
<%= link_to "${1:name}", ${2:dest} %>
snippet ntc
<%= number_to_currency(${1}) %>
snippet ofcfs
<%= options_from_collection_for_select ${1:collection}, ${2:value_method}, ${3:text_method}, ${4:selected_value} %>
snippet rf

View File

@ -27,4 +27,5 @@ snippet ife
snippet ifp
- if ${1:condition}.presence?
${2}
snippet ntc
= number_to_currency(${1})