mirror of
https://github.com/iritmaximus/brewery.git
synced 2026-10-12 19:13:49 +03:00
upto 2.13
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Brewery < ApplicationRecord
|
||||
has_many :beers
|
||||
has_many :beers, dependent: :destroy
|
||||
|
||||
def print_report
|
||||
puts name
|
||||
|
||||
Reference in New Issue
Block a user