Skip to content

GoodMeasuresLLC/where-or

 
 

Repository files navigation

Where Or

Where or function backport from Rails 5 for Rails 4.2

Confirm works from Rails 4.2.3 to 4.2.6, including for preloading

Gem Version

Installation:

gem 'where-or'

Usage

post = Post.where('id = 1').or(Post.where('id = 2'))

Declare of original

Largely copy from bf4 gist

About

Where or function backport from Rails 5 for Rails 4.2

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%