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

Validation reflection #4

Closed
activestylus opened this issue Feb 21, 2010 · 4 comments
Closed

Validation reflection #4

activestylus opened this issue Feb 21, 2010 · 4 comments

Comments

@activestylus
Copy link

Would be great to have simple_form use the model validations to determine whether a field is required. Right now formtastic does this in tandem with validation reflection plugin, but it may be a better idea to reflect on ActiveModel's validations in Rails 3.

PS - obviously this is a feature request - is this a good place to post them?

@aaronchi
Copy link
Contributor

Yep. validation reflections were just added to Rails 3 edge. This would be a nice addition to the plugin.

@josevalim
Copy link
Contributor

Yes. This is a good place to put feature requests! :) I would love this feature too, anyone in mood to try it out in a fork and send me a pull request later?

@Papipo
Copy link

Papipo commented May 11, 2010

mmmm, I was implementing this, but I get failures in master tests!

@gcirne
Copy link
Contributor

gcirne commented May 14, 2010

I just implemented this and sent a pull request.

@Papipo I didn't realize you were already doing this. :(

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

No branches or pull requests

5 participants