No commit activity in last 3 years
No release in over 3 years
Property types that add CHECK constraints to your DB and validations to your model. Data integrity FTW.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme
dm-checked-types
----------------
Property types that add CHECK constraints to your DB and validations to your model. Data integrity FTW.

Install:
  gem install dm-checked-types

Usage:
  require 'dm-checked-types'

  class Product
    include DataMapper::Resource

    property :name, String, :key => true
    property, :amount, CheckedInteger[:gt => 0]
    property, :price,  CheckedInteger[:gte => 0]
  end


Notes:
  Soz haven't extracted specs out of my main app yet