Skip to content

Instantly share code, notes, and snippets.

@flemse
flemse / poly_test.rb
Last active January 13, 2016 07:25
Problems joining through polymorphic association with active record
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'
gem 'rails', github: 'rails/rails'