module Niceql::ErrorExt
Public Instance Methods
to_s()
click to toggle source
Calls superclass method
# File lib/niceql.rb, line 231 def to_s if Niceql.config.prettify_pg_errors && ActiveRecord::Base.connection_config['adapter'] == 'postgresql' Prettifier.prettify_err(super) else super end end