ActsAsTenant demo app
From a senior dev... 1. Have a tenant table that stores the domain 2. Add tenant_id to devise users table for lookup 3. In the application controller, match up devise's current_user object with th...
Robert Ault repliedFrom a senior dev... 1. Have a tenant table that stores the domain 2. Add tenant_id to devise users table for lookup 3. In the application controller, match up devise's current_user object with th...
Robert Ault repliedseems so obvious now 😀 `ActsAsTenant.current_tenant.id` that will get the current account ID
Michael Smith repliedSince none currently exists, I'd like to write my own ActiveRecord adapter for the Immudb database. However, I've been searching for a while online and can't find any good resources on how to write...
DEEPAK KUMAR postedI have existing rails application . Currently no language support and now need to do language support . Is there any tools , gem etc which will help me to find static word from erb/helper/model etc...
Mitesh Kumar postedHi Thank you, i followed this tutorial however i am getting Routing Error when i click submit for the comment... ``` uninitialized constant Squeals ``` Rails.root: /home/ubuntu/workspace Applic...
khemlall mangal postedHey there, I'd like to get some advice on how to handle rendering similar content like a show/edit for resource in modal or in full page render. Does it make sense to have multiple routes for thes...
Edwin Mak postedHey there, I am starting a new project and I want to get it off to a clean start with Rails 7 and Bootstrap 5 on Cloud9. After viewing some videos and going through the process a few times, it se...
chuckblake postedI'm using active storage with active_storage_db gem to keep files in Postgres instead of storing them in the cloud. I have a document which I upload - has_one_attached (i don't need to upload mult...
hcosteira postednice, I get it
bradnealy repliedI'm merely attempting to learn Rails and Ruby. Although I don't know Javascript either, I want to start learning. Please give me some advice on how to fix this. http://www.deanstank.net/octordle
chordrash repliedI have issue with has_many_attached and fortunately I find this post. Thank you for your sharing. https://github.com/railsadminteam/rails_admin/issues/2990 [cubes 2048](https://cubes2048.com)
RobbieColtrane repliednice
Rio replied • SolvedHow i can use activeadmin with actiontext in rails 7
Muhammad Bilal postedI am using Rails 6, Ruby 2.7, and Webpacker 4. X I am getting below error ActionView::Template::Error (Webpacker can't find application.js in /Users/developer/Documents/Projects/knowhub/public/pack...
swathi arisankula posted