mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 08:31:39 -04:00
Louis | Improve label formatting
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@ class Bike < ActiveRecord::Base
|
||||
validates :serial_number, presence: true
|
||||
|
||||
def name
|
||||
[self.seat_tube_size.to_s, self.brand, self.model] * ' '
|
||||
self.brand + ' ' + self.model
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user