Skip to content

Instantly share code, notes, and snippets.

@dicemanx
dicemanx / ActiveRecordRelation#or.rb
Last active June 26, 2017 01:53
Reproduction of a possible bug in ActiveRecord_AssociationRelation#or
begin
require "bundler/inline"
rescue LoadError => e
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler"
raise e
end
gemfile(true) do
source "https://rubygems.org"
# Activate the gem you are reporting the issue against.