mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
upto 2.9
This commit is contained in:
@@ -9,4 +9,8 @@ class Beer < ApplicationRecord
|
||||
end
|
||||
return average
|
||||
end
|
||||
|
||||
def to_s
|
||||
"#{self.name}, #{(Brewery.find_by_id self.brewery_id).name}"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user