Sha256: 81236e2a31e745f4bda6fe930535734e96d5fe3e630d3aa4cc3f6ed40a74b4ff
Contents?: true
Size: 415 Bytes
Versions: 15
Compression:
Stored size: 415 Bytes
Contents
# frozen_string_literal: true module ActiveRecord module Type module OracleEnhanced class Boolean < ActiveModel::Type::Boolean # :nodoc: private def cast_value(value) # Kind of adding 'n' and 'N' to `FALSE_VALUES` if ["n", "N"].include?(value) false else super end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems