Browse Source

Don't validate top tube on bike model

topic-sass
Jason Denney 11 years ago
parent
commit
1f9bd4f3a0
  1. 1
      app/models/bike.rb

1
app/models/bike.rb

@ -20,7 +20,6 @@ class Bike < ActiveRecord::Base
validates :color, :presence => true validates :color, :presence => true
validates :bike_style_id, :presence => true validates :bike_style_id, :presence => true
validates :seat_tube_height, :presence => true validates :seat_tube_height, :presence => true
validates :top_tube_length, :presence => true
validates :bike_wheel_size_id, :presence => true validates :bike_wheel_size_id, :presence => true
validates :bike_condition_id, :presence => true validates :bike_condition_id, :presence => true
validates :bike_purpose_id, :presence => true validates :bike_purpose_id, :presence => true

Loading…
Cancel
Save