Select cover image from ActionText attachments
I wanted to add a “cover image” feature to a blog. I’m already using ActionText for the content. I’m not sure if this is a good idea or if there are better ways to do it. I’m going to explain what...gorka posted
I'm trying to make a nested form but for some reason, I got problems with the strong params, Any help, please?
I'm getting this error (i think that is for the strong params) here is how it looks all the stuff https://imgur.com/a/Nf8Ba61, if anyone could help me, would be awesome :DSebastian Guevara posted
Sprockets::FileNotFound in Users::Sessions#new
Thank you for allowing me to be part of your group and my problem is the following, I currently have version 2.7.0 of ruby on my computer, version 5.1.7 of rails, they just shared a project that ...eduer jaramillo replied • Solved
Why is this image_tag not working?
I face a similar problem but I realized that I had previously stored data in the database without a file and it was generating that error. So I deleted the file and save a new record with an image ...Aproplat replied • Solved
Strava API auth please HELP
I am attempting to create a very simple rails API app. I need to be able to authenticate within my application in order to access my data. authentication is a four-part process, I have done this su...chigreen replied
How to load jquery and other vendor js & css files through importmap in Rails 7
Hi, I am trying to re-building a website using Rails7 and Bootstrap4, which was already developed in Rails5 and Bootstrap3. I have faced some problem of loading jquery and css files. I followed the...dm posted
Having trouble setting up Bootstrap + jQuery + easyAutocomplete in Rails 6
Me too, same situation here, anyone fixed this issue?jessezhang replied
How to add more than 10 callback urls with omniauth-twitter ?
Hi everyone, We use twitter omniauth in our application and we have more than 10 callback urls, but twitter has a limit of 10 callback urls according to their policy. I found this on stackoverflow...Taoufik Mejri posted
How should I bundle stimulus_reflex with esbuild in Rails 7
Wondering the same thing - anybody?Ole Torp replied
Is there a way to benchmark the time spent on each callbacks for a ActiveRecord?
I have 20+ before_save callbacks for a active record. Is there a way in rails to measure the time spent on each callbacks while saving a object into the store?Arul posted
ActionText attachments not visible in Trix editor after domain migration
I found a solution. The old domain is embeded in RichText body, so it must be replaced by the new one, running this from rails console: ActionText::RichText.where("body like '%https://olddomain%'...Emiliano López replied
How do I configure GlobalID in a Rails app?
Of course, the moment I write this, I found the answer by reading the code in the railtie for the gem: ``` # application.rb, inside the main block: config.global_id.app = 'wakka' ``` Hope this ...Walter Davis replied • Solved
How do i wrap calls to update_attributes via transaction?
I have two models User/Car. User can have many Cars. How do i prevent updates to cars if my user object is invalid? Currently Rails does not wrap the attribute update(cars) in a same transaction a...Arul posted
how do i can send otp when user press forgot password button
I used devise gem and twilio for authentication and otp. Now i want to send otp to user when he/she press forgot button and after verify it goes to devise edit password where display new password a...Hassan Nawaz posted
Handling multiple Account types
Most users think that they can handle only one account at a time but in reality, if you have good skills in programming you can manage multiple accounts at a time. In this case, you can handle the ...George an replied