Skip to main content
Gravatar
Attempting to generate a URL from non-sanitized Rails 5 upgrade
Rails • Asked by Francisco Quinones
Hi so Im upgrading my rails 4 app to rails 5. I have a link with foo _path(params.merge(format: "pdf")) Im getting the non-sanitized error. Im looking for the correct way of permiting the this...

Gravatar
Ruby on Rails 5.1 & Vue.js 2.4.x – Testing with Karma, Jasmine – How to install?
Testing • Asked by Pascal K
I asked the same Question on [stackoverflow](https://stackoverflow.com/questions/46194455/ruby-on-rails-5-1-vue-js-2-4-x-testing-with-karma-jasmine-how-to-install) I have Rails 5.1.x and Vue.js ...

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
Deploy Multiple Rails Apps to Same DigitalOcean Droplet?
General • Asked by Michael Stitt
I've used your guide to [deploy a Rails app](https://gorails.com/deploy/ubuntu/14.04) to a DO droplet -- which was extremely helpful! However, now I'm at the point where I'd like to take advantage...

Gravatar
NameError: uninitialized constant Stripe
Rails • Asked by Andrew Vathanakamsang
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
Do I need rails-ujs and jquery_ujs?
Javascript Solved • Asked by Nick McNeany
I'm bulding a rails 5.1.x app so no jQuery, but I'm usining Bootstrap so I added it in. I was adding in `//= require jquery` and `//= require jquery_ujs`, then noticed that rails 5.1 now ships w...