small medium large xlarge

 

Pt-B-2

To solve the length validation try starting with writing the test first.

product = Product.new(:title => “too tiny”, :description => “this product has a title that is toooooo tiny”, :price => 0.5, :image_url => “tiny.gif”)

Page History
  • V14: Eric Ricketts [5 months ago]
  • V13: Eric Ricketts [5 months ago]
  • V12: Eric Ricketts [5 months ago]
  • V11: Eric Ricketts [5 months ago]
  • V11: Alex Emelyanov [almost 3 years ago]
  • V10: Alex Emelyanov [almost 3 years ago]
  • V9: Alex Emelyanov [almost 3 years ago]
  • V8: Alex Emelyanov [almost 3 years ago]
  • V7: Phillip J Ramey [over 4 years ago]
  • V6: Eric Treece [about 5 years ago]