diff --git a/app/models/bike_condition.rb b/app/models/bike_condition.rb index 9fd27ef..0e197f1 100644 --- a/app/models/bike_condition.rb +++ b/app/models/bike_condition.rb @@ -2,4 +2,8 @@ class BikeCondition < ActiveRecord::Base attr_accessible :condition belongs_to :bike + + def to_s + self.condition + end end diff --git a/app/models/bike_status.rb b/app/models/bike_status.rb index 58feee9..8ec30aa 100644 --- a/app/models/bike_status.rb +++ b/app/models/bike_status.rb @@ -2,4 +2,8 @@ class BikeStatus < ActiveRecord::Base attr_accessible :status belongs_to :bike + + def to_s + self.status + end end diff --git a/app/models/bike_style.rb b/app/models/bike_style.rb index 9009df8..74593cc 100644 --- a/app/models/bike_style.rb +++ b/app/models/bike_style.rb @@ -2,4 +2,8 @@ class BikeStyle < ActiveRecord::Base attr_accessible :style belongs_to :bike + + def to_s + self.style + end end