small medium large xlarge

Pt-C-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" 

Page History
  • V27: Juan Carlos Pazmino [22 days ago]
  • V26: Juan Carlos Pazmino [22 days ago]
  • V24: Juan Carlos Pazmino [22 days ago]
  • V25: System [22 days ago]
  • V23: Juan Carlos Pazmino [22 days ago]
  • V22: Juan Carlos Pazmino [22 days ago]
  • V21: Ad Rienks [7 months ago]
  • V20: Ad Rienks [7 months ago]
  • V19: Ad Rienks [7 months ago]
  • V19: Ellie @ Support [almost 4 years ago]