Sha256: 5b3f7b0ae144e4b40d3602646a516e6968c5858057c1188b1f7067a0fd0b5ec5

Contents?: true

Size: 171 Bytes

Versions: 1

Compression:

Stored size: 171 Bytes

Contents

module ConstraintSupport

  def constraint_options(type)
    if DataMapper.const_defined?('Constraints')
      { :constraint => type }
    else
      {}
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
snusnu-dm-accepts_nested_attributes-0.11.0 spec/lib/constraint_support.rb