def from_clause_constructor(from, reference_key)
      case from
      when /\s.?#{reference_key}.?$/ # The from clause is a string and has the tbl reference key
        @scope.unscoped.from(from)
      when String, Symbol
        @scope.unscoped.from("#{from} #{reference_key}")
      else
        replicate_klass = from.respond_to?(:unscoped) ? from.unscoped : @scope.unscoped
        replicate_klass.from(from.dup, reference_key)
      end
    end
def from_clause_constructor(from, reference_key)
      case from
      when /\s.?#{reference_key}.?$/ # The from clause is a string and has the tbl reference key
        @scope.unscoped.from(from)
      when String, Symbol
        @scope.unscoped.from("#{from} #{reference_key}")
      else
        replicate_klass = from.respond_to?(:unscoped) ? from.unscoped : @scope.unscoped
        replicate_klass.from(from.dup, reference_key)
      end
    end
Will attempt to digest and resolve the from clause

 If the from clause is a String, it will check to see if a table reference key has been assigned.
   - If one cannot be detected, one will be appended.
   - Rails does not allow assigning table references using the `.from/2` method, when its a string / sym type.

 If the from clause is an AR relation; it will duplicate the object.
   - Ensures any memorizers are reset (ex: `.to_sql` sets a memorizer on the instance)
   - Key's can be assigned using the `.from/2` method.