Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use validation_reflection to speed up tests #5

Open
sobrinho opened this issue Nov 9, 2009 · 4 comments
Open

Use validation_reflection to speed up tests #5

sobrinho opened this issue Nov 9, 2009 · 4 comments

Comments

@sobrinho
Copy link

sobrinho commented Nov 9, 2009

Hello carlosbrando,

What you think about use validation_reflection gem to make the ActiveRecord validations?

This will improve speed significantly and add support for more specific options like :if and :unless (currently unsupported). Also the tests will run without querying the database.

Best regards

@sobrinho
Copy link
Author

@carlosbrando did you looked at gem?

@josevalim
Copy link

Excellent idea, feel free to fork and work on it, I can merge when it's ready!

@sobrinho
Copy link
Author

I will wait the version compatible with Rails 3 to work on it.

I will use validators and validators_on of Rails 3. What you think?

@josevalim
Copy link

Excellent!

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

No branches or pull requests

2 participants