README.markdown in notahat-machinist-0.1.0 vs README.markdown in notahat-machinist-0.1.1
- old
+ new
@@ -107,10 +107,10 @@
Sham.name {|index| "Name #{index}" }
If you want to allow duplicate values for a sham, you can pass the `:unique` option:
- Sham.coin_toss(:unique => false) { rand(2) == 0 : 'heads' : 'tails' }
+ Sham.coin_toss(:unique => false) { rand(2) == 0 ? 'heads' : 'tails' }
Blueprints - Generating ActiveRecord Objects
--------------------------------------------