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

Remove the text? predicate from the type objects #16074

Merged
merged 1 commit into from
Jul 7, 2014

Conversation

sgrif
Copy link
Contributor

@sgrif sgrif commented Jul 6, 2014

This was only used for uniqueness validations. The first usage was in
conjunction with limit. Types which cast to string, but are not
considered text cannot have a limit. The second case was only with an
explicit :case_sensitive => true option given by the user.

This was only used for uniqueness validations. The first usage was in
conjunction with `limit`. Types which cast to string, but are not
considered text cannot have a limit. The second case was only with an
explicit `:case_sensitive => true` option given by the user.
rafaelfranca added a commit that referenced this pull request Jul 7, 2014
Remove the `text?` predicate from the type objects
@rafaelfranca rafaelfranca merged commit 0920671 into rails:master Jul 7, 2014
carlosantoniodasilva added a commit that referenced this pull request Aug 5, 2014
The method has been removed in 0920671
(PR #16074), but the delegation was apparently missed, and one instance
of the method was added back with the addition of OID::Xml in
336be2b (PR #16072), so we can safely
rm both.
@sgrif sgrif deleted the sg-remove-text-predicate branch March 14, 2018 20:55
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.

None yet

2 participants