Sha256: 133bc538d8abe60a14ecd2de1095766ad3b87e80e486f0c7ca139530c8fc9a88

Contents?: true

Size: 302 Bytes

Versions: 4

Compression:

Stored size: 302 Bytes

Contents

#TODO Need to consider namespace change since paremt class moved to ActiveModel
module ActiveRecord
  module OracleEnhanced
    module Type
      class Integer < ActiveModel::Type::Integer # :nodoc:
        private

        def max_value
          ("9"*38).to_i
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activerecord-oracle_enhanced-adapter-1.7.11 lib/active_record/oracle_enhanced/type/integer.rb
activerecord-oracle_enhanced-adapter-1.7.10 lib/active_record/oracle_enhanced/type/integer.rb
activerecord-oracle_enhanced-adapter-1.7.9 lib/active_record/oracle_enhanced/type/integer.rb
activerecord-oracle_enhanced-adapter-1.7.8 lib/active_record/oracle_enhanced/type/integer.rb