Sha256: 3571b172bc136ea5affd8c6678cba62a140892f2d069b6eaefc2398bc7d243af
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
# This is needed because of https://github.com/rails/rails/blob/5-0-stable/activerecord/lib/active_record/errors.rb#L221 require 'active_model/errors' require 'active_record/errors' module ActiveRecord class ImplicitConnectionForbiddenError < ActiveRecord::ConnectionNotEstablished MESSAGE = 'Implicit ActiveRecord checkout attempted when Thread :active_record_forbid_implicit_connections set!'.freeze def initialize super(MESSAGE) end end end
Version data entries
5 entries across 5 versions & 1 rubygems