mirror of
https://github.com/fspc/BikeShed-1.git
synced 2025-02-28 16:53:23 -05:00
Adding some Bike models
This commit is contained in:
parent
f7d36328a5
commit
575651a325
5
app/models/bike_condition.rb
Normal file
5
app/models/bike_condition.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class BikeCondition < ActiveRecord::Base
|
||||
attr_accessible :condition
|
||||
|
||||
belongs_to :bike
|
||||
end
|
5
app/models/bike_status.rb
Normal file
5
app/models/bike_status.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class BikeStatus < ActiveRecord::Base
|
||||
attr_accessible :status
|
||||
|
||||
belongs_to :bike
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user