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 not used argument table_name of sanitize_sql_for_conditions #21727

Merged
merged 1 commit into from Sep 23, 2015

Conversation

yui-knk
Copy link
Contributor

@yui-knk yui-knk commented Sep 23, 2015

This argument was needen when sanitize_sql_for_conditions internally
called sanitize_sql_hash_for_conditions.
But sanitize_sql_hash_for_conditions was deprecated
(eb92100)
and deleted
(3a59dd2)
(4bd089f).

This argument was needen when `sanitize_sql_for_conditions` internally
called `sanitize_sql_hash_for_conditions`.
But `sanitize_sql_hash_for_conditions` was deprecated
(rails@eb92100)
and deleted
(rails@3a59dd2)
(rails@4bd089f).
@rails-bot
Copy link

r? @schneems

(@rails-bot has picked a reviewer for you, use r? to override)

@yui-knk
Copy link
Contributor Author

yui-knk commented Sep 23, 2015

r? @sgrif

@rails-bot rails-bot assigned sgrif and unassigned schneems Sep 23, 2015
@yui-knk
Copy link
Contributor Author

yui-knk commented Sep 23, 2015

sanitize_sql_for_conditions is protected method but also Public API, should we deprecate it first?

@sgrif
Copy link
Contributor

sgrif commented Sep 23, 2015

Thanks for the context in the commit message.

@sgrif
Copy link
Contributor

sgrif commented Sep 23, 2015

I don't think we need to deprecate an option which has no affect.

@yui-knk
Copy link
Contributor Author

yui-knk commented Sep 23, 2015

OK, thanks!

sgrif added a commit that referenced this pull request Sep 23, 2015
Remove not used argument `table_name` of `sanitize_sql_for_conditions`
@sgrif sgrif merged commit 4a7c82d into rails:master Sep 23, 2015
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

4 participants