#774: fix NoMethodError

This commit is contained in:
Vokhmin Alexey V 2012-12-12 16:41:11 +04:00
parent 6fbad4c2ac
commit 4fd44e587c
1 changed files with 1 additions and 1 deletions

View File

@ -4,5 +4,5 @@
.both
.leftlist= f.label :time_living, t("activerecord.attributes.product_build_list.time_living"), :class => :label
.rightlist= f.text_field :time_living, :value => (@product.time_living / 60)
.rightlist= f.text_field :time_living, :value => (@product.time_living.to_i / 60)
.both