Louis | Improve label formatting

This commit is contained in:
Loos
2014-09-19 17:06:44 -05:00
parent 585051969d
commit 8bdda37f4c
3 changed files with 10 additions and 4 deletions
+2 -1
View File
@@ -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