mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Make bike color not required
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user