Last active
August 29, 2015 14:18
-
-
Save guiltry/5e7cc329459fb3b7f305 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DatabaseCleaner.strategy = :truncation, {:only => %w[widgets dogs some_other_collection]} | |
# or | |
DatabaseCleaner.strategy = :truncation, {:except => %w[widgets]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment