Skip to main content


Subscribe to GoRails to join the conversation. Ask questions about your code, get help adding a new feature, and discuss implementation details with other members.

2 posts Gravatar

Add to Favorites: using same controller/action and js.erb files for different views

Rails • Asked by TemporadaLivre

Chris I'm a new subscriber and I'm loving Go Rails. The content is really usefull for real-world applications. After implementing the "Like" feature in my website, I came across a doubt that ke...

1 post Gravatar

Turbolinks Not Playing Nicely With Cocoon and Stripe

Rails • Asked by Steve Polito

# Problem I am getting the following console error on a form using `cocoon`. However, on page refresh the error is gone and the form works. ``` Failed to execute 'postMessage'...

2 posts Gravatar

How do I install bootstrap-v4 via yarn?

CSS • Asked by Drilon Buzuku

Hey Guys, I tried to install bootstrap4 via yarn. And I tried it like this: 1. yarn add [email protected] 2. rails webpacker:compile 3. add the line: import 'bootstrap/dist/css/boots...

4 posts Gravatar

Extend Sprockets to bundle mustache templates

Rails • Asked by Alex Musayev

I'm trying to include some Mustache templates into the main JS bundle. The idea is to take `/app/templates/*.mustache` files, generate a JSON object, and set a window-level variable, like this: ...

2 posts Gravatar

Multiple role based authorization

General • Asked by Bruno Wego

Hello friends, I have a handful of doubts in an interesting senario, I hope can give me a little help. My application uses angular with [ng-token-auth](

10 posts Gravatar

Advice on building a 'reports' feature

General • Asked by Jay Killeen

My Ruby on Rails enterprise app has a whole range of tables ranging such as customers, products, sales, warehouses, prices etc etc. I'd like to build a whole range of different reports that user...

2 posts Gravatar

How do I upload files larger than 2GB?

Rails • Asked by Jimmy McDaniel

I've watched the series on uploading files with Shrine, and I learned a great deal. However, there's still that issue with large files consuming all the resources on the server for a very long tim...

6 posts Gravatar

integrating analytics

General • Asked by Szilard Magyar

Hi Chris! I see GoRails is using for analytics. Could you recommend me a good resource on integrating segment with GA and mixpanel? There are too many approaches like javascript versi...

3 posts Gravatar

Is there a torrent or similar to download all episodes?

Site Feedback • Asked by Mark Schewe

Hello, in the next month I will go on vacation. There is only very slow internet access and I want to use the free time to refresh my Rails knowlege. I know, I should just relax, but learning s...

5 posts Gravatar

Any good idea how to import CSV via Sendgrid email attachment and update model/database columns.

Rails • Asked by Daniel Chapman

Basically receive incoming daily emails, with CSV attachment, then importing the CSV rows to your desired model/database. Anyone done this before? Thanks for any input.

5 posts Gravatar

Amazon S3 files: get full url of file uploaded in json response via postman

General • Asked by LOUY ABDALRIDA

Hello I have api rails app that I can upload files via carrierwave to my s3 bucket and I got back checksum and id in the response now I am trying to add the url of the file uploaded with the json r...

17 posts Gravatar

Sharing on social network

General • Asked by Christophe Estanol

What is the best way for the visitors of my page (not logged in) to share models data (for example articles and courses) on Facebook and Twitter. I have been looking for an answer without really f...

7 posts Gravatar

Simpleform association with images!

Rails • Asked by Martin McDermid

Hi Chris, I'm wondering if you could help. I'm currently building a form that'll send out a SMS with twilio, and i'm looking to send details of a vehicle out at the same time, specifically the i...

1 post Gravatar


Javascript • Asked by Antonio F.

Hello, You can enter other content into "Ember js". Regards

1 post Gravatar

Is it better to create 'duplicate' inverse join records or traverse via ruby/rails?

Databases • Asked by Thomas Bush

I am buidling an application for real estate centered around comparing properties. I have a self referential relationship, Comps, which joins two properties and stores some additional data. G...

1 post Gravatar

How does Searchkick/ElasticSearch impact how I should structure my database indexes?

Gems / Libraries • Asked by Matias Fernandez

I have a couple of questions about implementing Searchkick and ElasticSearch in general. * Let's say I'm using ElasticSearch to search for products like so: ``` # usage "apples...

7 posts Gravatar

[HATCH] - Deleting separate applications on the same server?

Databases • Asked by Lauro Silva

I've been deploying several toy apps on the same server, but after I'm finished with them I would love to easily be available to delete them using Hatch's interface, instead of having to SSH into t...

1 post Gravatar

Eager loading with Gem Mailboxer

Gems / Libraries • Asked by Thomas M

Hello everyone, I have a User model which act_as_messageable using the Mailboxer gem. In my users#index view, I would like to add a link for each user to the first user conversation Right no...

7 posts Gravatar

Best strategy for downloading multiple files from S3

General • Asked by Justin Miller

Im working on a rails app where Users can create a “project”. Project, has many datafiles. Users upload multiple files direct to Amazon S3 (im using carrierwave). I'd like Users to have the abi...