Skip to content

Deprecate the :tokenizer option to validates_length_of#19585

Merged
rafaelfranca merged 1 commit into
rails:masterfrom
sgrif:sg-deprecate-tokenizer
Mar 29, 2015
Merged

Deprecate the :tokenizer option to validates_length_of#19585
rafaelfranca merged 1 commit into
rails:masterfrom
sgrif:sg-deprecate-tokenizer

Conversation

@sgrif
Copy link
Copy Markdown
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
Copy Markdown
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