QuackatronHQ / Gigarepo

Incorrect Order of ActiveRecord Callbacks RB-LI1103
Anti-pattern
Major
1 occurrence in this check
before_validation is supposed to appear before after_commit.
19
20class Person < ApplicationRecord
21  after_commit :after_commit_callback
22  before_validation :before_validation_callback23
24  validates :name, presence: true
25end