Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
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