Disabling a tenant in a Multi-tenancy Saas app with apartment
3
Rails
Hey everyone, I was launching a multi-tenant app and want to know if there is a way through which we can disable a tenant if they cancel the subscription without deleting their data.
I can add thi...
Solved
Acts_As_Tentant User have access to many tenants
6
General
I've just created this enhancement for acts_as_tenant and wondering if anyone else would find this useful - https://github.com/ErwinM/acts_as_tenant/issues/231
Currently acts_as_tenant expects a s...
Chris Oliver replied
Solved
Go Rails' Stripe lesson and strong params
3
Rails
Hello,
I recently watched the [Go Rails Stripe tutorial](https://gorails.com/episodes/stripe). In it, Chris creates subscriptions like this:
```rb
def create_subscription
customer = # set custo...
Brian Carpenter replied
Solved
Is there a "Rails" way to batch process API requests?
2
Rails
I have a situation where I'm generating N post requests for given table in a vuejs app, but sending them to the rails controller one by one. I'd like to batch them all up in the app as a JSON obj...
Brian Carpenter replied
Solved
Should I continue using Rails 5 or should i use Rails 6?
2
Rails
As we all know the Rails is currently on version 6.0.3 as of May 06, 2020 (6.5 KB)
Some developers say that it is still not stable and must need to wait for a little while before migrating to th...
Joan Gabun replied
Solved
Not Rendering with Stimulus & ActionCable
1
Javascript
Hi,
I'm having some issues with Stimulus and I was hoping that someone could review this code and see if they see anything that I missed.
The Rails part is working and saving to the db. I'm sure t...
Jim Miller replied
Solved
Rails/Sendgrid messages are blocked by receiver's servers
1
Rails
Messages blocked by all receiver's servers(mail.ru, gmail.com).

console log: https://i.imgur.com/Q4sKtSH.png
.sum
end
def total_incomes
inc...
Ahmedzain posted
Solved
Testing and Session Variables
1
Testing
In my Rails 5 app I am using Pundit for authorization with a custom context. I have a multi-tenant application and I have an `Enrollment` model that joins my `User` and `Tenant` model. This was a...
Dan Tappin replied
Solved
How do I store audio files in production?
2
Rails
Hey guys!
I'm working on building a Rails app for a friend of mine - this app will be for her to host episodes of her podcast. I've already decided to use something like [SoundManager](http://www....
Chris Oliver replied
Solved
[SOLVED] Decrypt S/MIME 'file.xml.p7m' with OpenSSL
7
Ruby
I am trying to implement a decoder for a bunch of files (e-bills with extension .xml.p7m) in my rails application within a specific helper.
My goal is to upload the encripted files and read them p...
Chris Oliver replied
Solved
Why is application.css working locally but 404 on production server?
5
General
My css works perfect locally, but I get a 404 error for applicaiton.css once deployed. I generated my base app using Jumpstart free version. I confirmed app css is generated on the server in the ...
Chris Oliver replied
Solved
Resolving Draftsman incompatibility with Activerecord
1
Gems / Libraries
I installed the draftsman gem on a new install of jumpstart pro but it is conflicting with Activerecord.
Is their a workaround?
Bundler could not find compatible versions for gem "activerecord"...
Chris Oliver replied
Solved
how to process images with carrierwave and delay_job
1
Rails
I am trying to process the versions of the images with carrierware I want to send that process to a queue
Juan Alexander Rodríguez Álvarez replied
Solved