Continuous Integration for Rails with Travis & GitHub
In this video, I take the Contractometer project from earlier lessons and integrate it with Travis for Continuous Integration (i.e. auto-building and testing). https://travis-ci.com What is continuous integration anyway? Essentially, you check your code into a central repository (i.e. Github) and automated building is done to see if your code can run, and tests are…
Debugging Rails
Sometimes (read: always) you will need to debug your Ruby on Rails application. In this video, I cover some of the gems and methods you can use to do that!
Changing a Rails App from Mysql to Postgres
In this video, I take a real, live Rails (5) app and switch it from using MySQL to using Postgres. Of course, most of this is not about switching it is about moving the data from one database to the other. I show you how to do that. I’ll be using Docker to quickly host…
Stimulus, Hotwire, Bootstrap 5, Rails 6
In this episode I tackle (kind of) a question put forward by a viewer on another video – handling the showing of duration in Rails. To do that I create a new Rails6 app and plug in Stimulus.js, Hotwire/Turbo and Bootstrap5.
Using Docker for your Rails App in Production
I go over my opinions and experience in trying to get a Ruby on Rails app onto a remote server in Production mode. It wasn’t a good time. In the video, I mention how I do deployments. You can see a full video on that here: https://youtu.be/CZtYDplotiI (though it is probably time I do a…
Writing Solid Ruby Code
A long time ago (in a galaxy far, far away) I read the book ‘Writing Solid Code’. Here’s my version of the top points from that book, but adapted for Ruby.
Turning a Rails 5 gem into a Rails 6 Engine
With Zonmaster (https://public.zonmaster.com) we are/were stuck on Rails 5 because the tenanting gem we use (Milia) isn’t Rails 6 compatible. Let’s fix that! Sorry for the rambling, I don’t have a lot of time to structure the videos so I just start and go! I’m working on a new project that hopefully someday I will…
Using Docker for your Database with Rails
In this video, I look at how to use Docker to allow you to quickly and easily run different databases and services on your computer and how to connect your Rails apps to those services. It’s great for when you need to have different versions of database apps for different clients.
Datatables & Rails – Basic to Advanced – Ruby on Rails Tutorial
A monster of a video here! I cover using Datatables – the amazing JQuery plugin that gives you great-looking and behaving tables – in a Ruby on Rails 5 app. Going from creating the app all the way up to some sophisticated styling.
ElasticSearch and Ruby on Rails – Part 1
Recently I have been using two databases in my large Rails projects – 1, an RDBMS like MySQL, as a data store and another – ElasticSearch – as a denormalized document store that drives the front end data. In this video, I go over how to get ElasticSearch into your Rails project and get the…