Acts_As_Tentant User have access to many tenants
@Tim Dowling In Jumpstart Pro, tenant is stored depending on how you want your app to work. We can use the session, the URL (like basecamp does), the subdomain, or the actual domain. Session is the...Chris Oliver replied • Solved
Got error message when I install Capistrano, stuck at deployment for two days.
@Mvondo, sounds like you forgot to add the capistrano-rails gem to your Gemfile.Chris Oliver replied • Solved
Is there a "Rails" way to batch process API requests?
Very helpful, thanks.Brian Carpenter replied • Solved
Should I continue using Rails 5 or should i use Rails 6?
Nice. Thanks so much Chris!Joan Gabun replied • Solved
Not Rendering with Stimulus & ActionCable
Rails/Sendgrid messages are blocked by receiver's servers
Check out what DMARC is, it's the reason your emails are being blocked. https://dmarc.org/ Basically, they're not allowing these emails because they know they didn't originate from the correct ser...Chris Oliver replied • Solved
Tabs with Stimulus
Ok Chris I just joined here and this package makes it worth it. A smooth dropdown menu. Great job and thanks.Chuck replied • Solved
How do I calculate a computed value in a model when showing or indexing over that model in its controller?
After sleeping on it, I believe the best way (and the way that requires the fewest queries to Cloud Firestore) is to just download the whole Firestore DB and update from that object every 10 or so ...Jordan T-H replied • Solved
Working with ActiveRecord and Google Cloud Firestore
Not sure what the etiquette is for answering or following up one's own question, but I ended up modeling this, because I realized I need some pretty complicated and persistent logic for each docume...Jordan T-H replied • Solved
Default Order of Associated Model Collection?
I know right?! Seriously amazing people here. Welcome to the group! 🤓Chris Oliver replied • Solved
Rails 6 Form remote: true Error
API params validation in Rails app
I've implemented a gem for that purpose. You can have a look if you want here: https://github.com/felipefava/request_params_validationfelipe replied • Solved
Tailwind - own components - yes or no?
@Ricky thanks for this input. i already have started to use more Vue including components / slots.Bruno Steinmann replied • Solved
how i plot a profit_loss graph
i have income,expense, user controller i want to plot a graph of currrent user profit i calculated it in model. def total_expense expenses.pluck(:amount).sum end def total_incomes inc...Ahmedzain posted • Solved
Testing and Session Variables
I had a rouge conditional wrapped around my code where I set the enrollment. This fails in testing but passes in production. Tweaked that and now it works fine.Dan Tappin replied • Solved
Hatchbox: How do I point a Godaddy Domain to a wildcard sub-domain?
Does Chirs have any tutorials on this? Essentially step by step how to let a user add their own domain name to a multitenancy app set up on Heroku? I understand there are lots is questions regardin...bradley replied • Solved
How do I store audio files in production?
I would definitely recommend uploading with Shrine directly to S3 and then serving the files up through Cloudfront CDN. That way the downloads will be quick as possible which is what you want when ...Chris Oliver replied • Solved
[SOLVED] Decrypt S/MIME 'file.xml.p7m' with OpenSSL
Awesome, thanks for posting your solution. I'm sure at some point when I need to use OpenSSL directly, this will come in handy!Chris Oliver replied • Solved