mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 00:45:35 -04:00 
			
		
		
		
	Needed some to_s
This commit is contained in:
		
							parent
							
								
									d3c466761e
								
							
						
					
					
						commit
						4e6abf4a52
					
				| @ -2,4 +2,8 @@ class BikeCondition < ActiveRecord::Base | ||||
|   attr_accessible :condition | ||||
| 
 | ||||
|   belongs_to :bike | ||||
| 
 | ||||
|   def to_s | ||||
|     self.condition | ||||
|   end | ||||
| end | ||||
|  | ||||
| @ -2,4 +2,8 @@ class BikeStatus < ActiveRecord::Base | ||||
|   attr_accessible :status | ||||
| 
 | ||||
|   belongs_to :bike | ||||
| 
 | ||||
|   def to_s | ||||
|     self.status | ||||
|   end | ||||
| end | ||||
|  | ||||
| @ -2,4 +2,8 @@ class BikeStyle < ActiveRecord::Base | ||||
|   attr_accessible :style | ||||
| 
 | ||||
|   belongs_to :bike | ||||
| 
 | ||||
|   def to_s | ||||
|     self.style | ||||
|   end | ||||
| end | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user