Change belongs_to_required_by_default to true (#5888)
This commit is contained in:
committed by
Eugen Rochko
parent
7233ac07d2
commit
238de58e65
@@ -11,8 +11,8 @@
|
||||
#
|
||||
|
||||
class StatusPin < ApplicationRecord
|
||||
belongs_to :account, required: true
|
||||
belongs_to :status, required: true
|
||||
belongs_to :account
|
||||
belongs_to :status
|
||||
|
||||
validates_with StatusPinValidator
|
||||
end
|
||||
|
Reference in New Issue
Block a user