Sha256: 4c28f1593a56092cffdb3a1064a75a99e7c839dde8e8a5f0db04112e0b8f8695
Contents?: true
Size: 179 Bytes
Versions: 23
Compression:
Stored size: 179 Bytes
Contents
# frozen_string_literal: true class MoneyColumn::ActiveRecordType < ActiveRecord::Type::Decimal def serialize(money) return nil unless money super(money.to_d) end end
Version data entries
23 entries across 23 versions & 1 rubygems