How can I convert this code to raw SQL and use in rails?
You can always call to_sql to see what the SQL is at the end of every queryWilliam Kennedy replied
How to insert QRCode into PDF using receipts gem?
I got help on stackoverflow, but I can't post the link.czepesch replied • Solved
Safely running custom User Ruby code (e.g. Shopify Scripts)
Hello everyone! Nervous first-time poster here, and of course, my apologies if there's already a video / thread that covers this. An advanced topic I'd love to see covered on GoRails (or hear any ...Keegan Bakker replied
Reverse Proxy with Caddy and Custom (Dynamic) Domain Names
Rest-assured I overthought this!! Host and Forwarded host only required and reverse proxy to the actual heroku app (this may not be necessary, as opposed to my other CNAME'd end-points). The below...David Lowry replied • Solved
Can anyone point me in the direction of some good RSpec tutorials?
Go to tutorialspointDave White replied
What is the best way to learn React JS?
Pass one course and search for projects, practice is the best teacherDave White replied
See what questions will you be asked on the interview and start learning from them.Dave White replied
Docker rails assets:precompile
here is the Dockerfile i setup the project with rails g new --main --database=postgresql --css=bootstrap ``` # Make sure it matches the Ruby version in .ruby-version and Gemfile ARG RUBY_VERSION=3....Islam Bahnas replied
Chris, would you build Simple_Discussion differently today using Rails 7 and Hotwire?
Just curious - would you consider simple_discussion to be RESTFUL in the classic Rails sense? I wasn't able to use the gem as I use Tailwind for my app, and it would be too much work to change all ...DanInBC replied • Solved
Turbo stream problem
Thank you for your reply... I was under the impression that ``` broadcasts ``` would be enough. But that doesn't include create I guess. ActionCable seems like a hassle to set up. Thought turbo...Anders replied
Where do I put a custom validator for a model?
My little experience is that `app/validators` makes it easier to import the custom validator in the model than using `app/models/validators` as with the first one there is no need to user `include ...Stéphane Paquet replied • Solved
Can anyone recommend an online SQL course that would benefit a Rails dev?
Madmin: How to handle slugs vs IDs
I've set up Madmin, and I'm trying to go to the (blog) Article model edit page. Problem is Article's "to_param" is the :slug. Madmin by default looks for model's IDs: How can I tell it to look for...Jules Maregiano replied
Multi Tenant based database can connect into another database like multi-db connection?
I've been working on one project that has already implemented a multi-tenant database setup using the apartment gem. and now I need to connect this multi-tenant database to my other project. I've c...vinay sharma posted
Facing a problem in setting up the web server in Rails.
The bin/rails server command launches a web server named Puma which comes bundled with Rails. You'll use this any time you want to access your application through a web browser. With no further wo...Priya Sharma replied