New fix #1

Merged
bilal.catic merged 16 commits from new-fix into master 2020-04-16 10:05:32 +02:00
Showing only changes of commit ebc21919bf - Show all commits

View File

@@ -2,7 +2,7 @@
class VectorModel < ActiveRecord::Base
include PgSearchable
pg_search fields: %i[id name value], cache: :search_cache
pg_search fields: %i[vector_models.id vector_models.name vector_models.value], cache: :search_cache
end
class VectorModelWithoutCallback < ActiveRecord::Base
@@ -32,7 +32,7 @@ end
class SimpleVectorModel < ActiveRecord::Base
self.table_name = :vector_models
include PgSearchable
pg_search fields: %i[id name value], cache: :search_cache, language: :simple
pg_search fields: %i[vector_models.id vector_models.name vector_models.value], cache: :search_cache, language: :simple
end
class SimplePlayerModel < ActiveRecord::Base