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.

1 post Gravatar

How do I create a Zapier integration with a rails app?

Rails • Asked by Chris Collinsworth

I've read a lot about this and I understand that it involves REST webhooks, but I'm struggling to get it to actual work. I'm not sure how to actually get my app to tell Zapier that something has be...

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...

1 post Gravatar

Forum Series episodes ... no method error: undefined method

Rails • Asked by Miguel

I've been following along the Forum series of episodes, when I try to submit a forum post, I get an error. It seems that the controller has trouble assigning the user id to the current user. I thou...

3 posts Gravatar

Extending Rails flash

Rails • Asked by Jiri Prochazka

I have in *app/lib/action_dispatch/flash/flash_hash.rb* file this code: class ActionDispatch::Flash::FlashHash def my_method #... end end but when I call it in...

1 post Gravatar

Add Students to a class in a HABTM relationship !

Rails • Asked by John Sanderbeck

I have an app designed that I have classrooms and I want to "enroll" students in the class en mass. For example I want to be able to search by name and either add by an enroll or add button or a c...

3 posts Gravatar

Multiple Devise Users sharing a dashboard

Rails • Asked by Stephen Sizer

Hi, I have currently two Devise models Company and Contractor. When they sign in I want to redirect them to a dashboard page. At the moment I have a before_action on the dashboard controller ...

1 post Gravatar

Rails 5.0 - How to implement in-place editing without using best_in_place gem

Rails • Asked by Mike Whitehead

I'm building an Events site using RoR which I've just upgraded to v5.0.1 (not moving to 5.1 just yet). My events show page has a comments section at the foot of the page which, so far, only has a c...

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 ...

7 posts Gravatar

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

Rails • Asked by Adrian DeGus

I worked through yesterday and it works great. I tried to use this same system create activity feeds for my different models, but ran ...