Task A: Product Maintenance. #2

Dave says:

I changed the validation of the price, adding the :message option

validates_numericality_of :price, :message => "should be a number like 12.34"
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License