Sha256: 0b20642eac93d25ab5790f7326ecd68bb1c877c587acde3e328045c5be82d139
Contents?: true
Size: 505 Bytes
Versions: 12
Compression:
Stored size: 505 Bytes
Contents
# rubocop:disable Naming/MethodName # rubocop:disable Naming/UncommunicativeMethodParamName module Arel module Nodes class LocalTimestamp < TimeWithPrecision end end module Visitors class ToSql def visit_Arel_Nodes_LocalTimestamp(o, collector) collector << 'localtimestamp' collector << "(#{o.precision.to_i})" if o.precision collector end end end end # rubocop:enable Naming/MethodName # rubocop:enable Naming/UncommunicativeMethodParamName
Version data entries
12 entries across 12 versions & 1 rubygems