• This repository has been archived on 16/Apr/2023
  • Stars
    star
    115
  • Rank 305,916 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 9 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Where or function backport from Rails 5 for Rails 4.2

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, higher version may also works. Please create issue with your experience.

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

More Repositories

1

wechat

API, command and message handling for WeChat in Rails
Ruby
1,311
star
2

wechat-starter

WeChat web app with wx_pay in rails
Ruby
347
star
3

weui-rails

An UI library for WeChat, includes widgets/modules in mobile web app.
Ruby
142
star
4

bootstrap-rails-startup-site

Rails 3.2.17 or 4.0.3 enterprise startup site based on Bootstrap 2.3 or 3
Ruby
34
star
5

tailwindcss-jit-stimulus

A template with Rails 7.0, Webpacker 6.0, TailwindCSS 3 and Stimulus 3.0
Ruby
18
star
6

rmmseg-cpp-new

an re-implementation of rmmseg (Chinese word segmentation library for Ruby) in C++ in new rake-compiler
C++
16
star
7

ember-examples-with-cli

All Ember.js examples in one repos, switch branchs to run instead of time consuming npm install
JavaScript
15
star
8

dragon-ruby-play-ground

Ruby
9
star
9

pgac_demo

Rails 5 Action Cable chat room on Windows in PostgreSQL as backend
Ruby
8
star
10

vali-admin-rails

Starting using vali-admin, an Free Bootstrap 4 Admin Template in Rails 5.2
Ruby
8
star
11

react_on_rails-hacker-news

Hackernews client based on react_on_rails for "The Road to learn React"
Ruby
8
star
12

coreui4-rails-starter

The CoreUI 4 Rails starter
Ruby
7
star
13

ipip-fast

Faster version of ipip-ipdb
Ruby
6
star
14

product_hunt

Demonstrate new Rails 5.1 feature: Assets on Yarn, System tests with Capybara and unified form_with method
Ruby
6
star
15

sublime-user-folder

My Sublime Text 4 user folder content
5
star
16

attr_accessible2strong_params

Automatically convert Rails 3 attr_accessible to Rails 4 Strong Parameter
Ruby
5
star
17

homebrew-qt55

Add back the removed [email protected] original in homebrew-core
Ruby
5
star
18

the-react-way-in-blog

React 进阶之路 Blog 实现
JavaScript
5
star
19

openresty-under-rails

Minimize development time & running time using Openresty under Rails
5
star
20

pl-form

PaperLess Form let you quickly generate hundred of forms in few lines
Ruby
4
star
21

jquery-dirtyforms-rails

Dirty Forms, A jQuery Plugin save you leaving filled forms in gems
Ruby
3
star
22

ember-bookstore-backend

Bookstore API backend in Rails 4.2
Ruby
2
star
23

XdHacks-SH-2019

Ruby
2
star
24

jquery-FixedHeaderTable-rails

Rails asset pipeline wrap for jQuery plugin for tables with fixed headers
Ruby
2
star
25

coreml_predict

Ruby gem change running predict using Apple CoreML Model 3 or later.
Ruby
1
star
26

shopify-rails5

Shopify test
Ruby
1
star
27

iGetui_server_csharp

An unofficial server side C# SDK improvement. http://dev.igetui.com/
C#
1
star
28

bitstarter

Stanford Startup Engineering course node.js app
JavaScript
1
star
29

hello_phoenix

Hello phoenix 1.4 master
Elixir
1
star
30

uo-mes

My last .NET Amateur MES, non-Camstar way to write a MES, code instead of config
C#
1
star
31

sublime2-user-folder

My Sublime Text 2 user folder content
Python
1
star
32

ember-hacker-news-backend

Backend for Ember Hacker News Clone, using Rails-API on 4.2
Ruby
1
star