Skip to main content
Nested Comment Threads in Rails - Part 1 Discussion
General • Asked by Chris Oliver
Greate episode! If I should get this episode a couple of years ago, that may should saved my life jajaja! So, this is the same logic you are using here in your post and epdisode comments?
23
posts

User Onboarding Progress Bar Discussion
General • Asked by Chris Oliver
Great episode! One thing that would improve these for me would be to include testing. Thanks
7
posts

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

Controller loop for has_many_through associations
Rails • Asked by Siddharth Arun
I have the current models setup in my Rails app: ``` Recipe has_many :items, :through => :item_linkers has_many :item_linkers, inverse_of: :recipe ItemLinker belongs_to: recipe, invers...
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

Setup Windows 10 Discussion
General • Asked by Chris Oliver
Hi,I got all the way through this so thanks for the walk through! I run "rails server -b 0.0.0.0" and the server boots fine but when I go to localhost:3000 in the browser, the browser icon spins bu...
163
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

Setup Ubuntu 18.04 Bionic Beaver Discussion
General • Asked by Chris Oliver
nice guide... i tried it with sucess on ubuntu 18 !DISTRIB_ID=UbuntuDISTRIB_RELEASE=18.04DISTRIB_CODENAME=bionicDISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"rbenv version2.5.0 (se...
12
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

Using the Trix Editor plus File Upload Attachments Discussion
General • Asked by Chris Oliver
Great vid, can this be done with the carrierwave gem?
42
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

Deploy Ubuntu 18.04 Bionic Beaver Discussion
General • Asked by Chris Oliver
Thanks for this article, Chris! I'm struggling to get past the step of installing NGINX with Passenger. The command sudo apt-get install -y nginx-extras passenger...results in a message about sever...
31
posts

Setup MacOS 10.14 Mojave Discussion
General • Asked by Chris Oliver
Is anyone else receiving errors with MacOS 10.14 Mojave and the Mysql2 gem? I'm also getting a "Library not loaded: libssl.1.0.0.dylib (LoadError)" error when executing "rails server". Thanks!
13
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

Sortable Drag and Drop Discussion
General • Asked by Chris Oliver
Just a heads up, in your Gemfile, bootstrap 4 beta no longer uses tether for tooltips, now uses popper.js which is now a dependency of the bootstrap 4 gem
23
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

Subscribe to the newsletter

Join 20,000+ 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.