lib/fat_free_crm/secret_token_generator.rb
#
# Yields to a block that executes with the logging turned off
# This stops the secret token from being appended to the log
Yields to a block that executes with the logging turned off
This stops the secret token from being appended to the log
Yields to a block that executes with the logging turned off This stops the secret token from being appended to the log
def quietly(&_block)
        temp_logger = ActiveRecord::Base.logger
        ActiveRecord::Base.logger = nil
        yield
        ActiveRecord::Base.logger = temp_logger
      end
def quietly ( & _block ) temp_logger = ActiveRecord :: Base . logger ActiveRecord :: Base . logger = nil yield ActiveRecord :: Base . logger = temp_logger end
Yields to a block that executes with the logging turned off
This stops the secret token from being appended to the log
Yields to a block that executes with the logging turned off This stops the secret token from being appended to the log
_block