upto 2.13

This commit is contained in:
Aaro Koivukangas
2023-08-08 10:40:30 +03:00
parent 25a334a662
commit d6a1de554d
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
class Brewery < ApplicationRecord
has_many :beers
has_many :beers, dependent: :destroy
def print_report
puts name