在正常的形式添加分隔符我已经使用这个:为best_in_place宝石
<td>
<%= number_with_precision(approved_invoice.invoice_amount,
:precision =>2,
:delimiter => ",")
%>
</td>
这在适当的地方加上逗号。如果我要使用这个分隔符best_in_place宝石:
<td class="tax-particulars-align">
<%= best_in_place @invoice, :invoice_amount,
:display_as => :get_invoice_amount_with_precision,
:type => :input
%>
</td>
我可如何向量场逗号在我的编辑页面?有人可以帮助我吗?
谁能给我什么建议吗? – 2012-08-13 12:27:02