I made a user with two accounts, a user should have documents that are scoped to the account they belong to. I'm writing tests that @user.documents sh ...
I made a user with two accounts, a user should have documents that are scoped to the account they belong to. I'm writing tests that @user.documents sh ...
I'm working on a project with I use ActionCable, at the moment I'm learning about acts_as_tenant gem. I implement it in the project, but my WebSocket ...
When trying to create a distributed table with Citus, it gives a PG::UndefinedColumn: ERROR: column "x" does not exist I have enabled Citus on worker ...
I am using Active Admin in my multi tenant app. I also use Searchkick which has a custom tenant specific index in each model: The issue is that in ...
We have a SAAS platform written in Rails using the postgres' schema based multitenancy and Apartment gem. The different schemas are identical, with sa ...
I have a rails model Thing that uses acts_as_tenant to tie it to a company. This works fine, and now users who are part of a company can only access t ...
I am using acts_as_tenant gem to manage a multi-tenant platform while using devise to manage users. A User in our system acts_as_tenant and belongs_to ...
I have an application that's using Devise to handle sign in/registration. I'm also using acts_as_tenant. I need to ensure a Tenant is set every time s ...
rails 5.2.1 ruby 2.5.1 My Model InputForm.validators shows This is not allowing me to create the InputForm without tenant. Note : I don't h ...
We are building a tenant based web app using acts_as_tenant gem. Since we are running same app for all the tenants so we have only one log file in who ...
I'm working on the admin page for an application with a model called DealerBranch and a tenanted nested association called Address. I have a controlle ...
I'm using acts_as_tenant gem that injects default scope in my models. I also use Sunspot for search like so: Article model is scoped so that even ...
I have a Rails app using Devise and it also uses acts_as_tenant. In my applications controller I create a variable for the url (including the tenant ...
I am attempting to use the acts_as_tenant gem to scope SQL queries for multiple organizations. RSpec/FactoryGirl are pulling some dirty tricks, howeve ...
I am using acts_as_tenant gem to do a multi-tenant app. I followed the instructions. I am using sub-domains. In my application_controller.rb I have: ...
I'm using a gem https://github.com/dsaronin/milia. One of my models is called Group: But I can't create it for some reason. Here's rails console: ...
I'm using a gem milia and devise. Only for the sake of testing, I want to create User: The error is: ...
I am going to try and make this work in my Rails app but I figured I would see if anyone knew of a gotcha that would stop me in the tracks. The basic ...
I am trying to create an integration test with Capybara/RSpec that has a valid current_user (using the Warden.test_mode! trick) and I have also create ...
Im using gem 'acts_as_tenant' in a Rails 3 app. I set the tenant in the applications controller based on domain: I have code in the workorder mode ...