Results 14 comments of Daniel Docki

Thanks for the great job, but I caught this error. ``` Internal Server Error: uninitialized constant JSONAPI::OperationResults Internal Server Error: uninitialized constant JSONAPI::OperationResults /Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/formatters.rb:103:in `build_response_document' /Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/formatters.rb:39:in `jsonapi_format' /Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/renders.rb:34:in `jsonapi_render' ```...

It seems that this PR https://github.com/cerebris/jsonapi-resources/pull/946, changed some things and removed JSONAPI::OperationResults.

any updates about this? at least for version [0.9.11](https://github.com/cerebris/jsonapi-resources/releases/tag/v0.9.11)

@nertzy ok I removed opened and closed, was only enabled controller ``` ruby class EstablishmentsController < ApplicationController def index @establishments = Establishment.enabled @establishments = @establishments.search(params[:search]) if params[:search].present? end end ```...

For now no solution? Me too, "The SQL that is produced is beyond my comprehension" =/ SQL ``` sql SELECT "establishments".*, (ts_rank((to_tsvector('simple', unaccent(coalesce("establishments"."name"::text, ''))) || to_tsvector('simple', unaccent(coalesce("establishments"."street"::text, ''))) || to_tsvector('simple',...

@marksim I tried, but not worked. Model Establishment.rb ``` ruby class Establishment < ActiveRecord::Base include PgSearch pg_search_scope :search, against: [:name, :street, :neighborhood], associated_against: { profile: :description, kind_of_foods: :name, products: [:name,...

@marksim Working :), Thanks. ``` ruby scope :enabled, joins("INNER JOIN profiles as p01 ON p01.establishment_id = establishments.id"). where("p01.enable IS true") ``` SQL ``` => "SELECT \"establishments\".*, ((ts_rank((to_tsvector('simple', unaccent(coalesce(\"establishments\".\"name\"::text, ''))) ||...

Have any solution for this? I got error below ``` (MatchError) no match of right hand side value: {:error, "ERROR 3F000 (invalid_schema_name) schema \"tenant_test\" does not exist"} ```

I changed my TenantCase and worked. ```diff defmodule TenantCase do use ExUnit.CaseTemplate setup_all do :ok = Ecto.Adapters.SQL.Sandbox.checkout(Repo) Ecto.Adapters.SQL.Sandbox.mode(Repo, :auto) + if Triplex.exists?("test"), do: Triplex.drop("test") {:ok, tenant} = Triplex.create("test") - on_exit(fn...

Same here.... ``` gem 'rails', '~> 5.0.1' ruby '2.4.1' ```