Sha256: 510e69ceaa72fd63f3c4fb08d4c856433b80221e342aea1a70d289790e697ec2

Contents?: true

Size: 150 Bytes

Versions: 2

Compression:

Stored size: 150 Bytes

Contents

atcbd = ActiveRecord::AttributeMethods::ATTRIBUTE_TYPES_CACHED_BY_DEFAULT

atcbd << /_array$/
def atcbd.include?(val)
  any?{|type| type === val}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ar_pg_array-0.10.2 lib/ar_pg_array/schema_cacheable.rb
ar_pg_array-0.10.1 lib/ar_pg_array/schema_cacheable.rb