How do i save a field in a separate table when using devise?
Date range option
Can any one tell me how to provide a Date Range option on one of the pages of my project???What changes needed to be done in index file and corresponding controller to show it?
vinit rawat postedProvide sort option
How can i provide the sorting feature on all the pages of my project dashboard??
vinit rawat postedHow do you charge for building web app projects?
Creating a Blog with Images ins Posts
gem_group in application template
Is there a a way to use ``` gem_group :development do ... end ``` ``` gem_group :development, :test do ... end ``` in application template file without duplicating those groups ...
dk postedHow do I setup noticed gem to work with act as tenant gem?
Hello everyone 👋 I'm using act as tenant gem and I want to separate notifications based on that, I am using noticed gem for notification, when I followed Chris Oliver tutorial on YouTube on how t...
ash postedRails App production(Droplet DigitalOcean) Assets Issue
Hi, So i deployed my rails app on the digitalocean droplet, its using webpacker. So when i go to my site, css and js are not working while i get this in the console: "rails_app/packs/css/applicatio...
SLLAF postedHow do i display devise sign_up page error messages ?
I have a problem that whenever iam trying to sign_up and leave all fields empty i don't get any errors like "password can't be empty".. but after refreshing the page and resubmit the same data i ge...
sasky621 postedEager Loading on Rails 5.1
Is this solved ?
Ratnakar repliedUpgrading 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 upgrad...
Tom Dringer postedHow 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 • SolvedHow 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 jque...
Vorkosigan76 postedSubmit 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 newsletter'...
Tom Dringer postedHow 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 • SolvedHow 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 postedActionText / 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 postedWhat 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 `im...
Stéphane Paquet postedPattern 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