Class: ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::MoneyDecoder
- Inherits:
-
PG::SimpleDecoder
- Object
- PG::SimpleDecoder
- ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::MoneyDecoder
- Defined in:
- lib/active_record/connection_adapters/postgresql_adapter.rb
Overview
:nodoc:
Constant Summary collapse
- TYPE =
OID::Money.new
Instance Method Summary collapse
Instance Method Details
#decode(value, tuple = nil, field = nil) ⇒ Object
1206 1207 1208 |
# File 'lib/active_record/connection_adapters/postgresql_adapter.rb', line 1206 def decode(value, tuple = nil, field = nil) TYPE.deserialize(value) end |