Methods

Files

Class/Module Index [+]

Quicksearch

ArJdbc::PostgreSQL::Column

column behavior based on postgresql_adapter in rails project github.com/rails/rails/blob/3-1-stable/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb#L41

Public Class Methods

included(base) click to toggle source
# File lib/arjdbc/postgresql/adapter.rb, line 28
def self.included(base)
  class << base
    attr_accessor :money_precision
    def string_to_time(string)
      return string unless String === string

      case string
      when 'infinity' then 1.0 / 0.0
      when '-infinity' then -1.0 / 0.0
      else
        super
      end
    end
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.