mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Add Bike Style model and defaults
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
class BikeStyle < ActiveRecord::Base
|
||||||
|
attr_accessible :style
|
||||||
|
|
||||||
|
belongs_to :bike
|
||||||
|
end
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
mountain:
|
||||||
|
id: 1
|
||||||
|
style: MOUNTAIN
|
||||||
|
hybrid:
|
||||||
|
id: 2
|
||||||
|
style: HYBRID
|
||||||
|
road:
|
||||||
|
id: 3
|
||||||
|
style: ROAD
|
||||||
Reference in New Issue
Block a user