Module: Niceql::ErrorExt
- Defined in:
- lib/niceql.rb
Instance Method Summary collapse
Instance Method Details
#to_s ⇒ Object
141 142 143 144 145 146 147 |
# File 'lib/niceql.rb', line 141 def to_s if ActiveRecord::Base.configurations[Rails.env]['adapter'] == 'postgresql' Prettifier.prettify_err( super ) else super end end |