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

Deprecate the :tokenizer option to validates_length_of #19585

Merged
merged 1 commit into from
Mar 29, 2015

Conversation

sgrif
Copy link
Contributor

@sgrif sgrif commented Mar 29, 2015

As demonstrated by #19570, this option is severely limited, and
satisfies an extremely specific use case. Realistically, there's not
much reason for this option to exist. Its functionality can be trivially
replicated with a normal Ruby method. Let's deprecate this option, in
favor of the simpler solution.

As demonstrated by rails#19570, this option is severely limited, and
satisfies an extremely specific use case. Realistically, there's not
much reason for this option to exist. Its functionality can be trivially
replicated with a normal Ruby method. Let's deprecate this option, in
favor of the simpler solution.
@sgrif
Copy link
Contributor Author

sgrif commented Mar 29, 2015

/cc @rafaelfranca

rafaelfranca added a commit that referenced this pull request Mar 29, 2015
Deprecate the `:tokenizer` option to `validates_length_of`
@rafaelfranca rafaelfranca merged commit 77d9a8e into rails:master Mar 29, 2015
@sgrif sgrif deleted the sg-deprecate-tokenizer branch March 29, 2015 23:12
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

Successfully merging this pull request may close these issues.

2 participants