Skip to main content
Gravatar
Integrating Turbolinks into rails 5 app
Gems / Libraries • Asked by Alex Deering
Turbolinks has been giving me a world of trouble and there is a lot of randomness with it depending on where I put it in the application.js file. Right now I have this: ``` //= require jquery3...

Gravatar
How to attach "users" to a tenant/tenants with Rails multi-tenancy/apartment
Rails Solved • Asked by Andre Goldstein
Hey guys, Have been watching some great videos on multi-tenancy with Rails but one thing I can't quite get my head around. If a `User` remains global, what is the best strategy for giving the...

Gravatar
Let's Encrypt Error on Hatch
General • Asked by Lauro Silva
I keep getting this error when trying to add Let's Encrypt using Hatch. Im not sure how to debug it. Any thoughts? ``` Uploaded /etc/nginx/snippets/letsencrypt.conf Uploaded /etc/nginx/s...

Gravatar
Open position
General • Asked by Dana Neuhaus
Hi Chris! Adam Wilson at LaunchCode suggested I reach out to you regarding a ruby developer position I'm looking to fill. As you might guess, it's tough to find an experienced ruby developer in S...

Gravatar
NameError: uninitialized constant Stripe
Rails • Asked by Andrew Vathana
Hello, I am receiving the following error "NameError: uninitialized constant Stripe" when I ran `Stripe::Customer.all` in the rails console. This was from following along on your class Stripe Su...

Gravatar
assign_attributes not working
Rails Solved • Asked by Charles Smith
I just signed up for Payments with Stripe and Rails Master Class and am loving it...can't walk away from it; learning a ton! Having an issue though and was hoping someone could lend a hand. I am...

Gravatar
How do I integrate the local_time gem without using the asset pipeline?
Gems / Libraries • Asked by Michael Raeford
How do I add the local_time gem to my project without using the asset pipeline as shown in one of the tutorial videos on building a user forum (https://gorails.com/episodes/forum-time-zones-with-lo...

Gravatar
SweetAlert integration
Rails • Asked by Michael Kibet
I was able to intergrate sweetAlert properly(*not using the gem but by including the files manually in vendor *)and overiding the rails defaults as follows in the application.js file=> ``` $.r...

Gravatar
How can I use Rails Each Array and In-page search to show/hide div content
Rails Solved • Asked by Omar Khedr
I'm trying to set up a simple search bar to show/hide content in my rails app. Specifically, trying to allow someone to search for a specific user via username in my chatroom which are being shown ...

Gravatar
Create a User Profile after saving a Devise User
Gems / Libraries • Asked by Jason Brown
I want to have a user profile instance created in the database which is associated with a newly created devise user. The profile should be created only once and have a user_id associated with the ...

Gravatar
Disaster recover plan?!
Servers Solved • Asked by Karim Tarek
Hello, So I'm deploying my first Rails app built for a customer – 🎉 – to production in couple of days – I'm using Hatch – and I'm not sure what kind of setup/plan I should have for "disater reco...

Gravatar
JSON Web Tokens with Devise & Warden (--api)
Rails • Asked by Antonio F.
Hello, You can create an episode with the same typology ( https://gorails.com/episodes/jwt-with-devise) using a project of this type: rails new weather --api thank you regards

Gravatar
Youtube text transcription
Rails • Asked by Carlos Castro
Hello, i'm wonder if there's a way to get the youtube caption text after being autogenerated by youtube itself? Thanks a lot, @Carlitos

Gravatar
Streaming CSV Output to the User's Browser
General • Asked by Sascha M.
Hello, I'm referring to https://gorails.com/episodes/export-to-csv?autoplay=1 is there an easy way to add a function to actually stream the file contents to the User's Browser, like described...

Gravatar
Accepts_nested_attributes vs the regular way.
Rails • Asked by John Magee
So I've spent the last couple days working with `accepts_nested_attributes_for` in an effort to understand them (I've never used them before). I've used a variety of sources (GoRails video of cour...

Gravatar
How do I Export a CSV file where it includes all the nested attributes?
Rails Solved • Asked by Steve
Greetings: I would like to export a CSV file where it includes all the nested attributes. I have an invoice model and a product model. Each invoice has many products. I am able to export to CSV ...

Gravatar
Link to a method in my model
Rails Solved • Asked by Simon P
Hi I have a method called Search(search) in my model which is called from my controller. This works fine when I enter a search term in an input box in my view. What I now want to do is creat...

Gravatar
Struggling with an association test
Testing • Asked by John Sanderbeck
I have a project that has a User, a Building, and a Role There is a building_roles table that is user_id, building_id, and role_id Then I have a has_many :users through building_roles There is a...

Gravatar
What do you like to do away from the computer?
General • Asked by Andrew Fomera
Hey everybody, I'm curious what you guys like to do when you take time off from programming. I personally like to play video games, or lately go on hikes or mountain bike. I recently bought ...

Gravatar
Rails How to link an email form with Sendgrid?
Rails Solved • Asked by Omar Khedr
I was able to create a contact form that when a user clicks submit - its send an email (which i get in my yahoo inbox). I would like to now have that email be sent via sendgrid so that I can an...