app/models/pilot.rb
# Set the pilot's status to active after they have confirmed their
# account (or after reconfirmations)
#
Set the pilot's status to active after they have confirmed their
account (or after reconfirmations)
Set the pilot ' s status to active after they have confirmed their account ( or after reconfirmations )
def after_confirmation
    update_attribute(:active, true)
  end
def after_confirmation update_attribute ( :active , true ) end
Set the pilot's status to active after they have confirmed their
account (or after reconfirmations)
Set the pilot ' s status to active after they have confirmed their account ( or after reconfirmations )
# rubocop:disable Rails/SkipsModelValidations # rubocop:enable Rails/SkipsModelValidations