Module: DbLogger::ModelAdditions

Defined in:
lib/db_logger/model_additions.rb

Instance Method Summary collapse

Instance Method Details

#debug(message) ⇒ Object

Validations go here… Methods that depend on ActiveRecord go here…



5
6
7
8
9
10
# File 'lib/db_logger/model_additions.rb', line 5

def debug message
  # before_validation do
    # send "#{ message }=", DbLogger.debug( send message )
  #  true
  #end
end