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.

16 posts Gravatar

Freelancer? / Seeking freelancer?

General • Asked by Chris Oliver

Similar to the Hacker News thread, I thought we might start up a thread for anyone looking to hire a Ruby / Rails freelancer or if you're a freelancer looking for work. *Please lead with either ...


13 posts Gravatar

What are your goals for 2017?

General • Asked by Alan Reid

Hello all! Hope you all have a great holiday and heres to an awesome 2017 to you all :) One of my goals for 2017 is to learn new stuff. One of the things i want to do, is to expand my understa...


3 posts Gravatar

Uploading a file from remote url using shrine?

Gems / Libraries • Asked by Roy Zinn

Hi, I need to upload a remote file to my S3 bucket (e.g., I get a link to a pdf e-ticket and I need to upload it from its location). In addition (as a bonus) what's the best way to allow users to ...


1 post Gravatar

How Do I Search Against Records Saved In Memory, and Not the Database?

Rails • Asked by Steve Polito

# Problem I have an event that starts Jan 1, 2017 and repeats every day until Dec 31, 2017. If I search for an event (using [ransack](https://github.com/activerecord-hackery/ransack)) that starts ...


2 posts Gravatar

How Do I Create an App Where Each User Has A Separate Table

Databases • Asked by Vikram Sharma

Hi, I want to create a web app which is a simple HR SaaS. Each user/company which registers will have get a separate table to upload list of employees. In terms of autorization a user/company ca...


4 posts Gravatar

My first 3 hour project for job application

General • Asked by Rails Addict

Hello, I made it past the phone screening and the next stage is that a robot will email me a project and I have a three hour window to complete it and then email them the results. This is for a...


1 post Gravatar

Recurring Select Accepts "Null" As a Valid Rule

Gems / Libraries • Asked by Steve Polito

I followed the Chris' excellent tutorial on [Recurring events with the ice_cube gem](https://gorails.com/episodes/recurring-events?autoplay=1). However, I was running into an issue when the value ...


2 posts Gravatar

How to build options on select tag with VueJS?

Javascript • Asked by Dmitry Amelchenko

For example, let's move to episode "using VueJS for Nested Forms in Rails" and adding model called Position, which association with a Player (belongs_to). And how to implement select tag for choos...


2 posts Gravatar

Question BEST_IN_PLACE

Gems / Libraries • Asked by Nymweb

In Rails 5 versions is it recommended to use the gem Best_in_place? What other alternative is there?


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


2 posts Gravatar

Using elasticsearch/searchkick to run a search bar via my navbar and show results in a search.html not index.html?

Rails • Asked by Omar Khedr

I just finished going over Chris's two great railscasts dealing with search. However, I wanted to put my search bar on my navbar so that whenever someone searches the results I will be taken to my...


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


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


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


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


19 posts Gravatar

How to display multi-day events in SimpleCalendar?

Gems / Libraries • Asked by Alan Kirk

Hi there, Not sure if i've missed something, but i'm not able to get multi-day events to show over the date range using SimpleCalendar. From what I've read on the Gem homepage, I've passed 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 ...