I am using acts_as_tenant for multitenancy and when I tried to index my database following error is
rake environment tire:import CLASS=Zameen FORCE=true
[IMPORT] Deleting index 'zameens'
[IMPORT] Creating index 'zameens' with mapping:
{"zameen":{"properties":{}}}
[IMPORT] Importing 'Zameen'
rake aborted!
ActsAsTenant::Errors::NoTenantSet: ActsAsTenant::Errors::NoTenantSet
I am using acts_as_tenant for multitenancy and when I tried to index my database following error is
rake environment tire:import CLASS=Zameen FORCE=true
[IMPORT] Deleting index 'zameens'
[IMPORT] Creating index 'zameens' with mapping:
{"zameen":{"properties":{}}}
[IMPORT] Importing 'Zameen'
rake aborted!
ActsAsTenant::Errors::NoTenantSet: ActsAsTenant::Errors::NoTenantSet