Skip to main content
Gravatar
How do I Update a child object, while Creating a Parent object with Fields_for
Rails • Asked by Logan Houston
I currently am creating an object with jQuery file upload, and than inserting a fields_for into the form with the new object. However, I am unable to update the existing object while creating t...

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

Gravatar
An issue with uploading to S3 with jquery file upload
Rails • Asked by Taro Singh
Hey guys, this is driving me crazy. I'm pretty new to rails and I have been following the shrine & S3 videos using the cloud based ide c9. I got basic direct uploads to work flawlessly, but when I ...

Gravatar
Implement a hash tags like feature in rails
General • Asked by John Munyi
Hi , I have looking for an actively supported gem to implement a hash tag like feature that can easily be used as a metric in feedback that has a lot of text. I checked-out https://g...

Gravatar
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?

Gravatar
Gravatar blocked in China, need a workaround
General • Asked by Trevor Owens
Gravatar is blocked in China where we have a ton of users. Which means if you pull gravatar from their site in your app, your website will crash/not load for anyone based in China. So I have two...

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

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

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

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

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

Gravatar
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, @current_user.jobs.all, :id, :job_name do |b| %> <div class="collection-c...

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

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

Gravatar
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

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

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

Gravatar
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](http://fancyproductdesigner.com/). Anyone know about any gem that provides this type of functi...

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

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