Sha256: 6b3f9ff6e1164e124d1d34f887b9672fd1571abcf9dc37fd7a5270fea56e991f

Contents?: true

Size: 300 Bytes

Versions: 19

Compression:

Stored size: 300 Bytes

Contents

module ActiveRecord
  module ConnectionAdapters
    module PostgreSQL
      module OID # :nodoc:
        class Enum < Type::Value # :nodoc:
          def type
            :enum
          end

          def type_cast(value)
            value.to_s
          end
        end
      end
    end
  end
end

Version data entries

19 entries across 18 versions & 4 rubygems

Version Path
activejob-lock-0.0.2 rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/enum.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/activerecord-4.2.2/lib/active_record/connection_adapters/postgresql/oid/enum.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.2 lib/active_record/connection_adapters/postgresql/oid/enum.rb
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.1 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.1.rc4 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.1.rc3 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.1.rc2 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.1.rc1 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activejob-lock-0.0.1 rails/activerecord/lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.0 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.0.rc3 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.0.rc2 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.0.rc1 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.0.beta4 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.0.beta3 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.0.beta2 lib/active_record/connection_adapters/postgresql/oid/enum.rb
activerecord-4.2.0.beta1 lib/active_record/connection_adapters/postgresql/oid/enum.rb