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

Fix unscope for less than #19546

Merged
merged 1 commit into from
Apr 28, 2015
Merged

Fix unscope for less than #19546

merged 1 commit into from
Apr 28, 2015

Conversation

DianthuDia
Copy link
Contributor

Code such as the following will be corrected.

Developer.where(id: -Float::INFINITY...2).unscope(where: :id)

See also: #19518

Code such as the following will be corrected.

    Developer.where(id: -Float::INFINITY...2).unscope(where: :id)
@senny senny added this to the 4.2.2 milestone Mar 27, 2015
@senny senny merged commit c6e05d6 into rails:master Apr 28, 2015
senny added a commit that referenced this pull request Apr 28, 2015
senny added a commit that referenced this pull request Apr 28, 2015
Fix unscope for less than

Conflicts:
	activerecord/CHANGELOG.md
	activerecord/lib/active_record/relation/where_clause.rb
@senny
Copy link
Member

senny commented Apr 28, 2015

@DianthuDia thank you 💛. Merged and backported to 4-2-stable.

@DianthuDia
Copy link
Contributor Author

thank you 💚

@DianthuDia DianthuDia deleted the fix_unscope_for_less_than branch April 29, 2015 05:39
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.

None yet

2 participants