README.md in evil-seed-0.3.0 vs README.md in evil-seed-0.4.0
- old
+ new
@@ -81,10 +81,10 @@
# Please note that there you have only hash of record attributes, not the record itself!
end
# Anonymization is a handy DSL for transformations allowing you to transform model attributes in declarative fashion
# Please note that model setters will NOT be called: results of the blocks will be assigned to
- config.anonymize("User")
+ config.anonymize("User") do
name { Faker::Name.name }
email { Faker::Internet.email }
login { |login| "#{login}-test" }
end
```