Sha256: fef8a75d1e2c61a0d4b57b7f087c242434c37187563c76a11cfac87205940a7e
Contents?: true
Size: 313 Bytes
Versions: 10
Compression:
Stored size: 313 Bytes
Contents
module PgHero module BaseHelper def pghero_pretty_ident(table, schema: nil) ident = table if schema && schema != "public" indent = "#{schema}.#{table}" end if ident =~ /\A[a-z0-9_]+\z/ ident else @database.quote_ident(ident) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems