Skip to main content
How do I add radio buttons to devise signup form ?
General • Asked by Arnas Klasauskas
I'm currently trying to add radio buttons to the devise signup form, the problem is that I dont know how I should write the migration, should it be a boolean, an integer or a string ? The user c...
1
post

How to fix params require for form_for contact in multi controller view
Rails Solved • Asked by Anthony BESSON
I have a problem in my contact form_for, I have one contact form and I want to render my contact form in my product view. If I make that I have a problem with my require params My contact_params...
2
posts

Stripe Elements Javascript Discussion
General • Asked by Chris Oliver
Great tutorial! Seems that the new elements library is easy to use. I was wondering how would I go about implementing Stripe Elements in a e-commerce site with a React Front-End and a Rails API bac...
16
posts

How to resolve the master.key problem with a Rails 5.2 dockerized project, using Gitlab CI ?
General • Asked by soykje
Hi everyone, First, a great thank you for this platform: I learned a lot here! I'm trying to deploy a dockerized Rails 5.2 application, using Gitlab CI/CD... First steps were going fine, but ...
4
posts

Sending Webhooks with Exponential Backoff Discussion
General • Asked by Chris Oliver
Hi, love the episode! Just a tiny remark; when running this code; ``` def send_create_webhook! User.has_webhook_enabled.find_each do |user| SendWebhookJob.perform_later(user...
2
posts

Exporting Records To CSV Discussion
General • Asked by Chris Oliver
Is there some magic happening when you call @users.to_csv ?? As I understand @users is an ActiveRecord::Relation, how is the method 'to_csv' sended to the User class ??
57
posts

Affiliate & Referrals Programs with Stripe & Rewardful Discussion
General • Asked by Chris Oliver
I was going to ask You about this! Good video. Still have a few questions: 1) Rewardful says something like "connect your Stripe account and we manage everything". That sounds like they get too mu...
8
posts

How do I display several posts in related "weeks"
General • Asked by Sebastian
I would like to structure my blog so that I can assign posts I have created with Trix and Shrine to weeks. I want to have 12 teaserboxes on my index page which can then be clicked and if I click ...
19
posts

Liking Posts Discussion
General • Asked by Chris Oliver
Learned a lot of new things through this post, thank you. Never knew how to properly write a route to a module or the proper architecture for that set up. Very useful stuff. Would have liked to s...
91
posts

Setup Ubuntu 16.04 Xenial Xerus Discussion
General • Asked by Chris Oliver
Don't use "ssh-keygen -t rsa", use "-t dsa", much safer and not owned by NSA.... ;-)
112
posts

API Authentication with JSON Web Tokens (JWT) and Knock Discussion
General • Asked by Chris Oliver
Nice tip. @Chris, you forgot push the changes on repository!
22
posts

Setup Ubuntu 18.10 Cosmic Canimal Discussion
General • Asked by Chris Oliver
Hi Chris,you may want to update the supporting package list with git-core -> git and python-software-properties -> software-properties-common as they seem to have changed.
4
posts

Deploy Ubuntu 16.04 Xenial Xerus Discussion
General • Asked by Chris Oliver
This is not working on Xenial Xerus because there is no packages for Ubuntu 16.04 in Phusion Passenger repositores yet.
96
posts

How to Upload Files Directly To S3 Using Paperclip And Dropzone.js
Rails • Asked by James Derryl
[How to Upload Files Directly To S3 Using Paperclip And Dropzone.js](https://www.railscarma.com/blog/technical-articles/upload-files-directly-s3-using-paperclip-dropzone-js/)
3
posts

Adding Stripe update card form, Cancel, and Resubscribe Discussion
General • Asked by Chris Oliver
Hello Chris! Thx for a great episode! So i noticed in this video that you updated some field on the current user to save the last 4 etc on the card. I was thinking that i could use that function to...
34
posts

Stimulus JS Twitter UI: Part 2 Discussion
General • Asked by Chris Oliver
Great content, as always.  An idea for another Stimulus screencast: reimplementthe 'Using VueJS for Nested Forms in Rails' series in Stimulus.
20
posts

Why isn't the Boostrap Dropdown not working in the menu after loging in ?
Javascript Solved • Asked by Damian Nelwep
Hello, I started an app using the Jumpstart shortcut but didn't find out how and why the dropdown menu with the user's photo wasn't working at all... I guess it is because of javascript but after c...
16
posts

@mentions for Users with ActionText in Rails 6 Discussion
General • Asked by Chris Oliver
This is a great video. Is it possible to remove jQuery if you are using Bootstrap 4? I know it's a dependency but maybe if you are not using all aspects of Bootstrap you can remove it. Anyway...
7
posts

How do I handle Koala error
Rails • Asked by Sunjay Dhama
After watching [Facebook API and Auth Tokens with Koala](https://gorails.com/episodes/facebook-api-and-auth-tokens-with-koala), I decided to implement it. However, I made a mistake in my logic and...
3
posts

Code Review: Run Number Refactoring Discussion
General • Asked by Chris Oliver
Very useful, code review series is awesome
18
posts

Subscribe to the newsletter

Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.