Skip to content

Remove sanitize_conditions and use sanitize_sql instead of sanitize_conditions#25999

Merged
rafaelfranca merged 1 commit intorails:masterfrom
kamipo:remove_sanitize_conditions
Aug 19, 2016
Merged

Remove sanitize_conditions and use sanitize_sql instead of sanitize_conditions#25999
rafaelfranca merged 1 commit intorails:masterfrom
kamipo:remove_sanitize_conditions

Conversation

@kamipo
Copy link
Member

@kamipo kamipo commented Jul 31, 2016

Because sanitize_conditions protected method is only used in one place.

@rails-bot
Copy link

r? @schneems

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While it is only used internally in one place it is a public API method. Could you add a deprecation message and a CHANGELOG entry?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a protected method. Should we add a CHANGELOG entry?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh... I see. I'll add a CHANGELOG entry later.

Because `sanitize_conditions` protected method is only used in one place.
@kamipo kamipo force-pushed the remove_sanitize_conditions branch from 64c7758 to 6eaf5c9 Compare August 17, 2016 17:03
@kamipo
Copy link
Member Author

kamipo commented Aug 17, 2016

I added a deprecation message and a CHANGELOG entry.

@rafaelfranca rafaelfranca merged commit c2af081 into rails:master Aug 19, 2016
@kamipo kamipo deleted the remove_sanitize_conditions branch August 19, 2016 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants