RUBYCRITIC
module Applicable - Applicable has no descriptive comment
extend ActiveSupport::Concern
included do
belongs_to :account, optional: true
attribute :account_id
def account - Applicable#account doesn't depend on instance state (maybe move it to another class?)
Current.account
end
def account_id - Applicable#account_id doesn't depend on instance state (maybe move it to another class?)
Current.account&.id
end
end
end