
I am facing problem in running rails server in ubuntu
1
Rails
Hi folks! As a rails newbie, I am facing some issues in spinning up my rails server. By the way, I have a windows machine and I am creating a linux subsystem by ubuntu. Firstly, its showing my webp...

How do I stream audio using rails
0
Rails
Hi a friend of mine wants me to make an app where she can uploads her podcasts / songs and filter it through some categories, I would like to know if it's better to use active storage and some JS ...

How do I use the ShardSelector Middleware?
0
Rails
Would be great to get a video on ShardSelector Middleware. Maybe how to do the Basecamp account in url but with ShardSelector Middleware.

Having trouble setting up Bootstrap + jQuery + easyAutocomplete in Rails 6
2
Rails
I have been reading articles/forums and followed some guides on how to set it up however I'm still having trouble running bootstrap and jquery.
Installed bootstrap, jquery and easyAutocomplete via...
jessezhang replied

How to add more than 10 callback urls with omniauth-twitter ?
0
Rails
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
3
Rails
When I use webpacker gem, it is so easy to install stimulus reflex using stimulus_reflex gem in Rails 6.
But in Rails 7, some problems occurs as follows:
```
$ bundle add stimulus_reflex
$ rails s...
Ole Torp replied

Is there a way to benchmark the time spent on each callbacks for a ActiveRecord?
0
Rails
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
3
Rails
Hi All,
We recently moved domains and have noticed an issue with how ActionText attachments are displayed in the Trix editor. They display correctly in the show view, just not in the editor.
Arti...
Emiliano López replied

How do I configure GlobalID in a Rails app?
1
Rails
I am working through an elaboration on the recent screencast, using GlobalID to build references to polymorphic associations, but I need to be able to take advantage of the GlobalID.app= method, an...
Walter Davis replied
Solved

How do i wrap calls to update_attributes via transaction?
0
Rails
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
0
Rails
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

Nested Comments in Rails Part 2, nested comments are showing in reverse order
2
Rails
I am trying to implement nested comments with max_nested comments as described in this episode:
https://gorails.com/episodes/nested-comment-threads-in-rails-part-2?autoplay=1
I'm at approximately...
Solved

Uppy Video
2
Rails
I've followed your tutorial and haven't been able to get uppy pop up to open upon click of "upload". Any ideas as to why?

First open source contribution to turbo-rails
4
Rails
Hello-
I'd like to take a crack at fixing https://github.com/hotwired/turbo-rails/issues/341 for turbo-rails. I'm having a little trouble navigating my local setup to verify the change is working ...
computer_smile replied
Solved

Architecture Question - Connecting google books API and voting on favorite book
4
Rails
Hey guys,
I am using the Google books API to pull books and show them on my site. This is working great. However, I want to be able to allow users to favorite books they want to remember and als...

Connect two rails apps with live updates hotwire, redis?
0
Rails
Hello.
I am going to create a big project. Using GCP and Rails I'm willing to create management system for a company. Investigating I've managed to solve some problems that I figured out while cre...

How do I resolve Rails 5.2.4.2 routing error: No route matches [GET] "/pages_about_path"?
4
Rails
I am running into a routing error for a get action when I try to render an html erb view from the '../views/pages' folder via a navbar link.
I have reviewed the routes.rb file and the output from ...
Solved

uninitialized constant ActiveStorage::AttachmentDashboard administrate gem
1
Rails
I added the administrate gem to a project I'm working on but I get this error: uninitialized constant ActiveStorage::AttachmentDashboard. I then tried to add the gem from dreamersoul (https://githu...
Konstantin Filtschew replied

Enable turbo_frame: modal tag conditionally
0
Rails
I have a link for creating a new item
<%= link_to "List an item", new_item_path, data: { turbo_frame: 'modal' } %>
This opens a item form in a turbo_frame_tag modal <%= turbo_f...
Ahmed Nadar posted

How do I make a image gallery/modal for my real estate listing app?
1
Rails
Hey, I am trying to make a rails app for real estate listing, however, I am stuck in the images section.
The users on the website can upload images on the website along with the properties which I...