Skip to main content
Looking for Rails work? / Hiring Rails developers?
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 ...

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

How do I route to the proper controller from the Bootstrap navbar?
Rails • Asked by Rodolphe Geant
Dear All, My name is Rodolphe, I am a new member of Go Rails. I've fell I love with Rails a year ago! but gosh I so struggle sometimes to comprehend what I'm doing :( . Anyway here is my questi...

Which is the simplest way to add ES6 to a Rails 5.1 app?
Rails • Asked by Francesco Mari
Hi! As of Rails 5.1.4, which is the most simple way to use ES6 in a Rails application?

What is wrong with my stripe configuration?
Gems / Libraries • Asked by Zanger02
Stripe isn't working anymore. When trying to create a new charge returns `the server responded with status 401` I followed stripes checkout docs to set up stripe. [Stripe checkout](http://str...

Embed Youtube video in Rails app
Rails Solved • Asked by Markus
Hello. How is possible to embed an existing video an show it in a page with rails? I followed this guide with yt gem: So now I can pos...

How do I create a virtual balance model in Rails?
Rails • Asked by Rohan Mayya
This is for a game application I'm creating. I have a user model, a stock model and a UserStock join table for the previous two models. User was created with devise. I intend to attach a certain b...

Database Relationship Structure (has_one and has_many together)
Rails • Asked by Warren
Hey Guys, So I have a bit of a headscratcher here. I have a rails app which needs two relationships to what is the same table. Basically, I have a Profile model. On that model I want to have...

Display collection_check_box for Has_and_belongs_to_many association
Rails • Asked by Lee Terng Gio
Hi, I want to display a list of check boxes, below is my code, ``` <%= f.collection_check_boxes :job_ids,, :id, :job_name do |b| %> <div class="collection-c...

Rails associations
Rails • Asked by Lee Terng Gio
I'm create a Ruby on Rails web application. I have 4 models, which are User, Job, Candidate, ApplyingJob. User is the one who will be using the web application and the user can create Job and Candi...

Why is viewer_id 0 on every video?
Rails • Asked by Zanger02
The viewer_id always returns 0 after creating a video. A mentor creates a video with a user via hangouts. Mentor then creates the video on our website. Only the mentor and viewer should see the vi...

How do I take advantage of multiple CPUs on a DigitalOcean droplets?
Servers • Asked by Karim Tarek
Hello 👋 I've a two Rails apps hosted on a droplet that has multiple CPUs. Honstly I don't know what does that mean for the app and if I need to do any thing to take advantage of that or does R...

Allow with my ISP router
General Solved • Asked by Francisco Quinones
Hi, so I got a new ISP and when I try to use the I get’s server DNS address could not be found. I have no Idea what to setup in the ISP router to let the use the correct IP 127...

How do I get all projects when the end date is exactly a weekly basis?
Rails • Asked by Stephen Sizer
I have a project model with a start and end date. I want to bring back all pojects that are exactly a week old, 2 weeks, 3 weeks etc Is there a way to do this using a scope? Thanks in advance

Anyone with experience using Quilljs?
Javascript Solved • Asked by Stéphane Paquet
Hi, I'm lloking forward using in a project and wonder if anyone can share his/her experience with such text editor. Related gems are looking pretty outdated (I'm using Rail...

update a model attribute with ujs
Javascript • Asked by Joel
i have a page that displays games(model) with a select box for the game result outcome. Game model `has_one :result, autosave: true` and I have a unique id for each row in the table based on the ...

How do I rename a field on a model without running migrations or altering the database?
Rails Solved • Asked by Jay Killeen
Hi I have a rails app that sits over an existing SQL Server database that I have no control over. Purely read only access to. I have a model like Customer with fields like CustomerCode, Custo...

How to make online product designer in ruby on rail
General • Asked by Asad
Hello i want to build this type of online product designer in ruby on rails. [Online Product Designer]( Anyone know about any gem that provides this type of functi...

Knock error response in login
Gems / Libraries • Asked by Oscar Miguel Amezcua Estrella
Hiyas i want to response if user dont send `auth[email]` or `auth[password]` give the status 400 and return some json give that fields are required or the feedback the user or password is bad i fol...

Need guidance regarding my project: Neophyte LMS system
Rails • Asked by Hussain Akram
Hi guys, I'm developing a LMS system (in Rails 5) for my university project which is about training new employees in any compnay by setting projects and challenges (sequentially) to start with. For...