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

validate_length_of doesnt works correctly #35

Open
jalberto opened this issue Feb 4, 2010 · 1 comment
Open

validate_length_of doesnt works correctly #35

jalberto opened this issue Feb 4, 2010 · 1 comment
Labels

Comments

@jalberto
Copy link

jalberto commented Feb 4, 2010

in user.rb i have:
validates_length_of :login, :within => 5..20

but the class added to the form is:

length-minimum_3_false_false length-maximum_100_false_false format-with_1007548530_false_false uniqueness_false_false presence

@grimen
Copy link
Owner

grimen commented Feb 24, 2010

Weird. =S Anyway I won't quick-fix it now as this project is on ice and never reached stable version, so I would not recommend it for production until I get time/reason to finish what I intended. As you see I rewrote the code base in one of the other branches to make it more modular - then I got too busy with projects related to work. Please reposrt back if you find the bug though. cheers

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

No branches or pull requests

2 participants