General Ruby on Rails Forum

Video Streaming with Rails

0
General
Hi, I've been trying to find an efficient way to stream videos from Rails. I have about 10-20 videos that I would like to stream to an android application. I currently have a minimal application wr...
Hari Govind posted

Rails 6 Form remote: true Error

2
General
Hi, all! I am following along with the video on how to make a chat application using action cable. In the video, I believe Rails 5 is being used, however, I wanted to try it out with Rails 6. Eve...
Jake Smith replied
Solved

https://gorails.com/episodes/webpacker-javascript-in-rails-6

2
General
Hi Chris Thanks for the Episode. I'm new for Rails 6, and when I followed your lesson I've got the multi dubbing of the flatpickr on going the back page in a browser. Like this: [see screenshot](h...
Ted Leason replied

Crucial Resources

0
General
Hey. I would love some help making this as robust as possible. Thanks https://github.com/tylertomlinson/crucial_resources
Tyler Tomlinson posted

How do I render a partial which contains a json object and iterate over the json object and appends it to where I want it too!! Frustration level 1000

0
General
So here is the Scenario of what I am trying to do I have a view ``` = link_to admin_page_path(page), class: "edit-#{page.id}" do .subcategory.btn.btn-xs.btn-info{"da...
PDG+creative posted

How do I create localized dropdowns with countires and cities?

2
General
Hi, I want to create a webpage (localized) with venues that have address (geocoded) and than search them by dropdowns/search field(autocomplete) in the area of X miles/km around location, so that ...
Casey Morris replied

In-App Navbar Notifications Discussion

55
General
Thank you thank you thank you!
Ken Hibino replied

Setup MacOS 10.15 Catalina Discussion

0
General

Share session across multiple Rails micro-services using CookieStore

1
General
Has anyone successfully made multiple Rails 6 applications share the same session cookie? I have two applications: login and admin. Login authenticates the user and sets a session cookie after whic...
Ricky replied

Why is application.css working locally but 404 on production server?

5
General
My css works perfect locally, but I get a 404 error for applicaiton.css once deployed. I generated my base app using Jumpstart free version. I confirmed app css is generated on the server in the ...
Chris Oliver replied
Solved

How can I display production s3 images in staging?

1
General
I have one s3 bucket for production and one for staging. What I want to be able to do is display production images when on staging (or development), but if I update an image while on staging/develo...
Peter vande Put replied

How do I subscribe action cable receiver to a new stream without resetting the entire channel subscription?

1
General
I have an inbuilt chat service on my application. A signed in user will select another user to start a conversation with them. How can I send stream for this new conversation to the 2 users without...
Nathan Chalot replied

File uploading with ActiveStorage in Rails 5.2 Discussion

30
General
Do previewers for Word Files and Excel 
Michael Prince replied

How ActionCable Uses Redis Discussion

4
General
Nice! I d like to see an episode on ActionCable & Redis tuning and optimisation to allow massive number of subscribers (100+) with frequent updates. Im currently pushing matrix with data of siz...
Yi Mei Wang replied

Is anyone using digital ocean kubernetes clusters. I’d like to know more

0
General
is anyone using kubernetes clusters? i currently have a dev test prod paradigm with load balanced servers. looking to leverage kubernetes clusters but not familiar how to leverage in digital oce...
Keith Gapol posted

How do I build conditional form fields?

4
General
I'm trying to build a form which contains categories and subcategories. The desired effect is to display the subcategories field or the relevant subcategories depending on the category that has bee...
Charles Fonlupt replied

Cross-origin Resource Sharing (CORS) with Rails Discussion

1
General
What would be the `script src` if you are adding the embedded script to another website?
Thato replied

simple_calendar gem AJAX Drop-down list for Month/Years

2
General
Greetings Chris, I've been using simple_calendar gem for a while -- its a wonderful solution. I was wondering...Can you implement a dropdown list for the months/years for the calendar itself. I thi...
Darion Wood replied

Protecting from XSS with Sanitize Discussion

7
General
Thanks Chris! I'm building an app and just realized I'm not sanitizing user generated urls. Thanks for the helpful tips.
octanepower replied

Rails for Mac OS Catalina

2
General
Hello, Super excited to be part of this group as I am in need of help. I have an existing Rails project that I cannot run anymore. I followed the steps here (https://gorails.com/setup/osx/10.15-ca...
Marc Guerrero replied

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.