mirror of https://github.com/fspc/BikeShed-1.git
Jason Denney
12 years ago
2 changed files with 14 additions and 0 deletions
@ -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 |
Loading…
Reference in new issue