Skip to main content

Community

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

Finding Users in Group Chat Go Rails Class

Rails • Asked by Omar Khedr

Hi guys, I went through Chris's Go Rails course on Group Chat with Action Cable and learned loads from it. One of the things that I need some help with though is being able to find all the chatr...


8 posts Gravatar

Hatch: Deploying my first App

Servers • Asked by Nick McNeany

Hey Chris, I was playing around with Hatch last night and it's really cool, awesome work! I am having a little drouble deploying though. I'm getting this > Git clone failed > > This u...


2 posts Gravatar

Do I have to publish the source code of a commercial app if I use a GPL licensed gem like prawn?

General • Asked by Drilon Buzuku

Hey Guys, do I have to publish the source code of a commercial app if I use a GPL licensed gem like prawn? Cheers, Drilon


6 posts Gravatar

Running multiple Rails versions

Rails • Asked by Jiri Prochazka

Hi guys (and ladies if any), I have installed Rails with rbenv (recommended), but now because of significant changes between 5.0.1 and 5.1 versions, I want to start a new project with 5.1 (becau...


5 posts Gravatar

Nested attributes

Rails • Asked by Giancarlo Corzo

Hi All, I'm working with nested forms and I'm stuck trying to create the two models and the controller to handle this association. My models following this structure: Survey -> recipients ...


6 posts Gravatar

Styles not rendering

CSS • Asked by Miguel

Hey guys, So I'm following [a tutorial](https://www.youtube.com/watch?v=70Pu_28yvdI&t=4025s), and around the 1 hr mark, he starts adding the styles. When I tried to reproduce it, it would not r...


8 posts Gravatar

Devise - logging on with something other than email

Gems / Libraries • Asked by RJ McCollam

I have followed the instructions on this page https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-with-something-other-than-their-email-address to allow signing in with some...


7 posts Gravatar

How to use In-App Notifications as an activity feed?

Rails • Asked by Adrian DeGus

I worked through https://gorails.com/episodes/improving-in-app-notifications yesterday and it works great. I tried to use this same system create activity feeds for my different models, but ran ...


2 posts Gravatar

Email Stripe Receipts

Rails • Asked by Steve Polito

Firstly, thanks for the great Stripe tutorials! I just finished implimenting basic subscriptions on my rails app. However, I do have a few questions regarding emails. **Will Stripe automatically...


2 posts Gravatar

Access Rails constants from Webpack-managed JS

Rails • Asked by Alex Musayev

I'm just starting to use Webpack with Rails, and have a question. Let say there is a constant defined in Rails application. What could be a proper way to access this constant from JavaScript? Assum...


10 posts Gravatar

How do I import a Sass library from within a "node_module" (Rails 5.1)?

Rails • Asked by Peter Marcano

Pretty much the question above! I have a Rails 5.1 app with webpacker installed, and I used npm to install a front end framework: `npm install bulma --save` Now that it is inside of `node_...


3 posts Gravatar

3rd party integrations using Oauth/omniauth

Rails • Asked by Masud Hossain

When creating a facebook login, you put `user = User.from_omniauth(env["omniauth.auth"])` inside `sessions_controller.rb` , so when a user goes to /auth/facebook it will prompt them to login via fa...


3 posts Gravatar

Watchlist Toggle

Site Feedback • Asked by Ron Huppert

Hi Chris, Not sure what the origianal intention was regarding the "watch later" button other than marking the specific episode, but I wondered if it could be added to the episode filter options....


3 posts Gravatar

How do I Geocode location with either address or Lat / long

Rails • Asked by Joe Minock

I'm building a portfolio app where a user can share all of the locations that they like to work from. A location can be a home, office, coffee shop, park or some random place in the wilderness. Giv...


3 posts Gravatar

How do I give Users the option of either selecting from a dropdown menu or inputting their own and adding it DB for other users

Rails • Asked by Omar Khedr

I apologize for the newbie question. But, I've been trying to create a special type of association and all my efforts have been failing. I would like to give users the ability to select their home ...


2 posts Gravatar

Why do you choose ams (active model serializer) over jbuilder or the other way around? (Rails API)

Gems / Libraries • Asked by Drilon Buzuku

Hey Guys, I'm interested in knowing, why some developers choose ams over jbuilder and some prefer jbuilder over ams, to build Rails based API's. Cheers, Drilon


10 posts Gravatar

Capistrano Rbenv Bundle Failed

Servers • Asked by Agung Setiawan

Hi, I'm following this tutorial on deploying rails app https://gorails.com/deploy/ubuntu/16.04 About to reach the last step but it failed when performing bundle install as screenshot below ...


5 posts Gravatar

Turbolinks and jQuery compatibility on Rails 5

Javascript • Asked by Lauro Silva

I have a hidden field that's activated when clicked on the link using jQuery. When clicking on the link, the field appears just for a second and then disappears. ```javascript $('.use-diff...


7 posts Gravatar

How can I setup Cloudfront CDN for Rails App ?!

Rails • Asked by Anh Vy Nguyen Vuong

It's good to have CDN enabled to speed up rails app but how can I do that with Cloudfront ?!


2 posts Gravatar

Routing Error No route matches [POST] when submitting ActionMailer

Rails • Asked by Ben Clarke

I have created a form but I'm having issues submitting the form, it's not getting the right route, I'm sure this is a simple fix, I'm just not seeing it. Here are the relevant files: `new.htm...