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

Add Bike Style model and defaults

This commit is contained in:
Jason Denney 2012-12-08 16:36:29 -05:00
parent 01923723ff
commit 29af72787b
2 changed files with 14 additions and 0 deletions

5
app/models/bike_style.rb Normal file
View File

@ -0,0 +1,5 @@
class BikeStyle < ActiveRecord::Base
attr_accessible :style
belongs_to :bike
end

View File

@ -0,0 +1,9 @@
mountain:
id: 1
style: MOUNTAIN
hybrid:
id: 2
style: HYBRID
road:
id: 3
style: ROAD