How do I include FontAwesome Pro in a Rails 7 project?
I realized just now that I can use the Pro CDN for font awesome directly. But, I'm going to leave this question open in case someone knows how to solve this, so I have it for another day, or if I d...Dave Sanders replied
Upgrading to Rails 7
Hi everyone, I had a rails 6.1 app and thought I'd upgrade it to Rails 7 to enjoy the new features. I thought moving from 6.1 to 7 would be fairly straight forward, as I know there's people upgr...Tom Dringer posted
How would one go about sorting ActiveStorage has_many_attached objects?
Add an Array/JSON Array type column to the model which declares the has_many_attached and store ids of ActiveStorage::Attachments in it. Then you can do : ``` # app/models/entry.rb class Entry &...Tomas Valent replied • Solved
Multi-step forms, without a gem?
I am looking for a good way to get multistep forms working, I have seen a couple of ways to do this and each has their own merits. Now I would like to be able to navigate back and forth between...Alan Reid posted
Ping external website
What's the best way to do a ping with IndexNow like : https://www.bing.com/indexnow?url=http://www.example.com/product.html&key=8baa3838e2774b34aaae330c5bfee7c4Tioneb12 replied
How to troubleshoot esbuild in Rails 7
With the arrival of Rails 7.0, i have tried moving from webpack to esbuild but struggle with it. I know that theoretically, creating a file jquery.js and importing it in application.js import j...Vorkosigan76 posted
I have started learning Ruby on Rails recently. I came across your site when trying to figure out issue I am having when installing Bootstrap 5 with Rails 7. The bootstrap framework is installed, b...alexweefs replied
Installing Tailwind with Rails 7
Well, Bootstrap is quite heavy compare to Tailwind and offer less control out of the box. You rapidly end up creating a lot of custom CSS with bootstrap that you do not have to with Tailwind. Also,...Stéphane Paquet replied
Submit a form from different page
Hi everyone, Hope everyone is well. I have a Driver form (which is basically the user - I can do current_driver and stuff) and one of the fields is a boolean checkbox for 'subscribe to newslette...Tom Dringer posted
How do I share my master.key with capistrano deployment
After following the guide [Deploy Ruby on Rails on ubuntu 18.04](https://gorails.com/deploy/ubuntu/18.04) I still have several problems with the app. Shows me the same error when rails can't find ...René Rodriguez Clavijo posted • Solved
How to change value of data that retrieve without updating database.
I want to change the value of the data I retrieve from the database. For example, when the data I retrieve is negative, I want to convert it to positive. However, the change must not affect the dat...Lusiana Siahaan posted
ActionText / Trix Editor
I'm working on upgrading an app from Rails 6.1.x to 7.0.1 with esBuild for JS. I am having trouble getting ActionText, in particular the Trix editor toolbar, to work correctly when running in `prod...Mountaindog posted
What is the best way to import node_modules CSS in a Rails 7 Esbuild project?
Rails 7.0 Ruby 3.0.3 Esbuild / Tailwind Question: what is the best way to import the CSS from a node package. After running the yarn add command, the JS loads very easily but as you know adding ...Stéphane Paquet posted
Pattern for Managing Third Party Integrations
Hey Matt, A pattern I've used is to create a folder called api_clients/ with subfolders for each api_wrapper. For example, on one project, I did the following api_clients/ --/xero --/fitbit -...William Kennedy replied
hello everyo My favorite casino review site is Qyto. It has a lot of great manuals and honest reviews about the most famous online casinos.AndreasHartmann replied
Having issue with Nested routes and form
I know this is probably simple for most of you folks, but I am trying to work through an area I am weak on in Rails which is forms with nested routes. First here is what I have... Models Topic ...Mike Chilson posted