Skip to main content
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...

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

Gravatar
How to build options on select tag with VueJS?
Javascript Solved • 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...

Gravatar
Question BEST_IN_PLACE
Gems / Libraries • Asked by Nicolás Bobb
In Rails 5 versions is it recommended to use the gem Best_in_place? What other alternative is there?

Gravatar
Using elasticsearch/searchkick to run a search bar via my navbar and show results in a search.html not index.html?
Rails Solved • 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...

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

Gravatar
Finding Users in Group Chat Go Rails Class
Rails Solved • 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...

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

Gravatar
Hatch: Deploying my first App
Servers Solved • 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...

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

Gravatar
Do I have to publish the source code of a commercial app if I use a GPL licensed gem like prawn?
General Solved • 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

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

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

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

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

Gravatar
Running multiple Rails versions
Rails Solved • 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...

Gravatar
rails5 + heroku + cloudfront + fonts
Gems / Libraries • Asked by Szilard Magyar
I tried to configure a rails5 app (deployed on heroku) with cloudfront for assets and fonts. I could make it work for the assets, then I tried to add the config for the fonts as well, but I just sc...

Gravatar
Nested attributes
Rails Solved • 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 ...

Gravatar
Styles not rendering
CSS Solved • 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...

Gravatar
Devise - logging on with something other than email
Gems / Libraries Solved • 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...