Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

How do I set up my models to work with seeding and testing #4

Open
comatory opened this issue Dec 1, 2015 · 0 comments
Open

How do I set up my models to work with seeding and testing #4

comatory opened this issue Dec 1, 2015 · 0 comments

Comments

@comatory
Copy link

comatory commented Dec 1, 2015

Is there a way to turn off validations when I require it? For exampling when I'm seeding I want to create some sample data that does not conform to the validations set up by the gem. The same goes for testing.

I tried to figure out ValidatesTimeliness.ignore_restriction_errors but even when I set it to true or false it does not seem to make difference (in rails console).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant