lib/generators/omelettes/config/templates/omelettes.rb in omelettes-0.5.0 vs lib/generators/omelettes/config/templates/omelettes.rb in omelettes-0.5.1
- old
+ new
@@ -2,11 +2,11 @@
#
# Columns with the following names will be automatically Faker-ified.
# You can make columns with other names Faker-ified by overriding the model
# specific columns a la: User.scramble(:nickname).as(:first_name)
#
-# :name, :first_name, :last_name
+# :first_name, :last_name
# :city, :state, :country, :street_address, :street_name, :zip_code
# :company_name, :company, :email, :user_name, :phone
# :paragraph, :paragraphs, :sentence, :sentences, :words
Omelettes.setup do |config|
@@ -25,6 +25,11 @@
# Person.scramble(:street) {|value| "#{value.reverse}"}
# Freeze / Ignore columns on specific models
# User.harden(:password)
# To make a normally "Faker" obfuscated column behave normally, override with :omelette
# User.scramble(:name).as(:omelette)
+
+ # Cleanup as needed
+ # config.cleanup do
+ # # Delete Something en masse
+ # end
end
\ No newline at end of file