1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-02-28 16:53:23 -05:00

Make bike color not required

This commit is contained in:
Jason Denney 2014-02-02 17:10:17 -05:00
parent f17eba810e
commit 83a4e4e9c1

View File

@ -17,7 +17,7 @@ class Bike < ActiveRecord::Base
validates :serial_number, :length => { :minimum => 3 }
validates :model, :length => { :maximum => 50 }
validates :bike_brand_id, :presence => true
validates :color, :presence => true
#validates :color, :presence => true
validates :bike_style_id, :presence => true
validates :seat_tube_height, :presence => true
validates :bike_wheel_size_id, :presence => true