Skip to main content
Live Stream Video w/ Rails
Tips • Asked by Wali Chaudhary
Hey Chris could you do a video on live streaming video with ActionCable or integrating it with an gem? Thanks!
5
posts

How would one go about sorting ActiveStorage has_many_attached objects?
Rails Solved • Asked by Aaron Belsham
Hey there,Just wondering if anyone can shed some light here as the Google search is pretty thin right now for ActiveStorage.Is there a way to a a property (say sort_order) to each of the has_many_a...
6
posts

Sorting Images using Active Storage
Rails • Asked by Tony Serkis
I'm experimenting with Active Storage to manage images. I got the multiple uploads working, but I want to use acts_as_list position with jQuery sortable to manage their order using ajax, like in [t...
5
posts

Vue JS server side rendering with rails webpacker
General • Asked by Ed Tewiah
I'm trying to figure out a solution for server side rendering of a vue js app using rails and webpacker. This article comes out top in a google search but is pretty much useless: https://medium...
5
posts

Distribute Records Uploaded Evenly to Devise Users
Rails • Asked by Daniel Chapman
If we have multiple users i.e 10 that each check records in index view, which are updated daily via a csv upload, any thoughts on a good way to distribute those records evenly, to spread workload?
1
post

Making GeoSearch smooth with AJAX Discussion
General • Asked by Chris Oliver
Nice video Chris!
2
posts

PG conflict changing the name of an attribute in the database
General • Asked by Damian Nelwep
Hi everyone, I'm having an issue after changing the name in a "Relationship" Controller and Model (the name is "follow / unfollow" and before was "meaw / unmeaw" (which I endend founding pretty ...
1
post

How do I implement a comment section into my rails app?
Rails • Asked by Hilldamn
So I followed a tutorial on Youtube so that I could make a simple video sharing website such as Youtube itself -> https://www.youtube.com/watch?v=uV1hWKtza0g I want to inplement a comment sect...
1
post

How to Migrate from Paperclip to Rails ActiveStorage Discussion
General • Asked by Chris Oliver
This should return the path to file in this format: /users/avatar/xxx/xx/original/filenameinstance.send(attachment).pathAlso, in my case i had to use something like:file_path = k.send(value).path.s...
13
posts

How to use Multiple Databases in Rails 6.0 Discussion
General • Asked by Chris Oliver
Hi. I am trying to use Rails 6's automatic read/write splitting with the multiple databases feature. There seems to be a problem with Devise, because the automatic connection switching sends writes...
1
post

Delete images with active storage in rails app?
Rails • Asked by Hilldamn
I am using this tutorial ->https://www.youtube.com/watch?v=fJ8kD4de72Q. So I followed the Youtube video and it worked perfectly, but I want to add a feature so that the user can to delete the pr...
3
posts

`Redirect from naked domain to www from inside the routes doesn't change the domain in the address bar - because of Turbolinks?
Rails Solved • Asked by Vito Botta
Hi, I am trying to force a redirect from naked domain to www from inside the Rails app, since I can't do this with the Nginx ingress in Kubernetes (basically, users can add custom domains and the a...
3
posts

Grandfathering
General • Asked by Anthony Lee
I am experimenting with pricing. Any good tips or procedures to try out grandfathering in old users and apply new pricing to new users?
6
posts

Jumpstart
General • Asked by Jorge Gocobachi
I'm thinking about purchasing jumpstart. I'm trying to build a marketplace where multiple sellers can sell multiple products and dashboard to manage products, sales, etc. (similar to etsy) Is jum...
4
posts

Streaming remote files to S3 🤔
Rails • Asked by Daniel Weaver
For each user request I need to save two remote files to AWS S3. I have the remote URLs of each - one image JPG ~100KB and one audio MP3 ~1.5MB. I know I can do this by downloading each file to ...
1
post

How do I insert smart variables into a trix editor?
Rails • Asked by Taylor Cooney
I would really appreciate some insight to how you could let a user select from pre-definied variables in a dropdown and insert them into a text area; some people have mentioned saving a liquid and ...
1
post

How do I make a image gallery/modal for my real estate listing app?
Rails • Asked by Vedant Lohbare
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 ...
2
posts

Pass SQL database data to NoSQl through Mongify
Gems / Libraries • Asked by Arman
I am trying to pass the data from an SQL database to a non-SQl database with mongo DB and for this I use mongify 1.3.2, Ruby 2.7.6.2, Rails 5.2.3 and within gemfile I have source "http://rubygem...
1
post

Sidekiq + Action Mailer
Rails • Asked by Michael Kogan
I study Ruby on Rails and I have a one-page simple application that will send emails to people. In the form on the page, a person enters the time and date when he wants to send an email. deliver_...
3
posts

How do I drag and drop an image file?
Rails Solved • Asked by William Jones
I have a rails application that can upload an image using CarrierWave and MiniMagick and a file_field. This seems to be the usual way to do things and works well. I have a user that wants to open...
4
posts

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.