Persistent audio via stimulus change audio on click
Hi, I have set up Plyr with stimulus and I have also got the sessions working with application.html.erb so I can have the player on every page in the app via the id params thanks to help here on Re...

1
Rails
Having trouble setting up Bootstrap + jQuery + easyAutocomplete in Rails 6
Me too, same situation here, anyone fixed this issue?

3
Rails
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...

1
Rails
How would you approach adding students to classes?
Hi all. This is an important topic for discussion. Daniel, of course, if you add such a function to add students to the class, it will be much more convenient.

8
Rails
Checking webpacker is cause of for time sink
How to use Webpacker in alternate Rails contexts, such as engines or Docker ... open-source JavaScript projects, both for Node.js and browser runtimes.

2
Rails
How should I bundle stimulus_reflex with esbuild in Rails 7
Wondering the same thing - anybody?

4
Rails
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?

1
Rails
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%'...

4
Rails
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 ...

2
Rails
How do I create an input field for a polymorphic association?
👍

7
Rails
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...

1
Rails
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...

1
Rails
How do I pause the submission of a form until successful stripe payment?
How you add stripe payment functionality

2
Rails
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 ...

6
Rails
unicorn takes a long time to start up with capistrano
After ruby update from 2.7.5 to 3.1.2
I've run command cap production unicorn:stop then cap production unicorn:start
it's takes about 9 minutes to start
gem 'capistrano3-unicorn', '~> 0.2.1'
```...

2
Rails
Newbie question trying to understand collection_check_boxes method
Hey, I check this rail and I think this check box is based on author ids' methods. The https://www.resumesplanet.com/career_change.php can help in generating the text which is shown alongside the c...

5
Rails