Methods

Files

Class/Module Index [+]

Quicksearch

ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Date

Public Instance Methods

type() click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 238
def type; :date; end
type_cast(value) click to toggle source
# File lib/arjdbc/postgresql/base/oid.rb, line 240
def type_cast(value)
  return if value.nil?

  # FIXME: probably we can improve this since we know it is PG
  # specific
  ConnectionAdapters::Column.value_to_date value
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.