class Niceql::NiceQLConfig
Attributes
indentation_base[RW]
open_bracket_is_newliner[RW]
pg_adapter_with_nicesql[RW]
prettify_active_record_log_output[RW]
prettify_pg_errors[RW]
Public Class Methods
new()
click to toggle source
# File lib/niceql.rb, line 248 def initialize self.pg_adapter_with_nicesql = false self.indentation_base = 2 self.open_bracket_is_newliner = false self.prettify_active_record_log_output = false self.prettify_pg_errors = defined? ::ActiveRecord::Base && ActiveRecord::Base.connection_config['adapter'] == 'postgresql' end