Skip to content

validate_length_of doesnt works correctly #35

@jalberto

Description

@jalberto

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions