class Rectify::UnableToComposeQueries

Public Class Methods

new(query, other) click to toggle source
Calls superclass method
# File lib/rectify/errors.rb, line 3
def initialize(query, other)
  super(
    "Unable to composite queries #{query.class.name} and " \
    "#{other.class.name}. You cannot compose queries where #query " \
    "returns an ActiveRecord::Relation in one and an array in the other."
  )
end