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
  • V19: Ellie @ Support [almost 3 years ago]
  • V25: Mark Young [over 3 years ago]
  • V24: William Ko [over 3 years ago]
  • V23: William Ko [over 3 years ago]
  • V22: Mark Young [over 3 years ago]
  • V13: Christian [almost 5 years ago]
  • V12: Christian [almost 5 years ago]
  • V11: Lee Choon Siong [over 5 years ago]
  • V10: Nick Morgan [almost 6 years ago]
  • V9: Nick Morgan [almost 6 years ago]