development Docker Builds are slow on M1 This is a neat Docker trick for those who have an ARM development machine (Apple M1), but sometimes need to build x86/amd64 images locally to push up to a
Transferring Files Sometimes we get into situations where we need to remotely transfer a file. This file could be large or it could be tiny. This file may be sensitive or could
server Let's Encrypt Wildcard Cert I'm writing this more as documentation for myself as I have several domains which I often use as playgrounds for certain things. This could be a kubernetes environment or a
development Best Developer Tools Trick So to start, I am a Ruby person. I love Ruby and also Ruby on Rails. They are my language and framework of choice. However, like all things, over time the framework will evolve as well as the community. With the evolution of Ruby
announcement Stickers! Stickers are now live on Drifting Ruby [https://www.driftingruby.com/]! You can visit your account [https://www.driftingruby.com/profile] or sign up for one to see what stickers are available. Stickers are a way for tracking progress throughout Drifting Ruby. We will
announcement Ruby on Rails 6.0 Beta 1 Deprecations About this time last year, I covered Ruby on Rails 5.2 Deprecations [https://blog.driftingruby.com/ruby-on-rails-5-2-0-deprecations/] and got lots of appreciative feedback. With the upcoming next major update of Ruby on Rails, I'd figure that I would do a new article and
equipment Audio Upgrades I've been using the same audio equipment for a few years now and initially they were exactly what I needed at the time. I posted my set up on how I screencast a few years ago https://blog.driftingruby.com/how-i-screencast/ [https://blog.driftingruby.
development Default Ruby on Rails Options A lot of times, we will create a new Ruby on Rails application and go through the process of our normal configuration setup. Sometimes, we will create a template to expedite our setup like in a recent screencast episode. https://www.driftingruby.com/episodes/
security Loofah Gem - CVE-2018-16468 The Loofah gem recently had a vulnerability reported which could potentially expose your application to a Cross Site Scripting attack. From https://nvd.nist.gov/vuln/detail/CVE-2018-16468 it reads > In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur
development Setting the Name in From Emails in Ruby on Rails Sending emails in Ruby on Rails is pretty simple and it is something that we often do not give much thought about if the emails are received. However, attention to detail is important. I too fell into this trap where I never took notice
Updated to Mojave MacOS 10.14 was released recently and updating the operating system of your development environment can be scary. Typically, I'll wait some time before I update to ensure I don't lose productivity. I took the plunge and updated and ran into a strange error
announcement Ruby on Rails 5.2.0 Deprecations With Ruby on Rails 5.2.0.Beta2 out now, its release candidate and official release is probably right around the corner. In efforts to clean up some of the code base, some methods have been deprecated. If you have been keeping your apps
utilities Configuring a Sentry Server on Ubuntu 16.04 LTS Sentry is an error tracking software product which has many different subscriptions options. Its software is open source and can be difficult to install if you are unfamiliar with the server side of things and hosting. They do offer a free hosted option for
announcement Going Pro on Drifting Ruby Update: New site launched! From now until Nov 25th, 2017, save on the Pro Membership! Get the Pro Membership for $15.00 USD per month while you maintain an active subscription. First Pro Episode is scheduled to be released on Nov 12th, 2017. The
development A Tail of Debugging Issues There have been many times when I've been debugging a complicated issue. More often than not, it was something crazy that I had done and it seemed like a good idea at the time. Whether it is a endless recursive loop or just a
Hacking content_for to create a simple display helper Update: Check out https://www.driftingruby.com/episodes/benchmarking-and-refactoring-the-content_for-view-helper for a screencast update to this article where things are refactored to reduce technical debt. So, this isn't probably even the best way to do this, but I was playing around in a side
development environment My Ruby on Rails Development Environment Forward Sometimes we have to configure a new development machine, whether it is for ourselves or a friend. We often find that there are some little pieces of our environment that we have forgotten about or have neglected to document. This is my documentation
beta Ruby on Rails 5.1.0 Deprecations With Ruby on Rails 5.1.0 RC1 out now, its official release is probably right around the corner. In efforts to clean up some of the code base, some methods have been deprecated. If you have been keeping your apps up to date
Form Check Modified Have you ever been on a website and filled out a form, only to accidentally refreshed or left the page without having saved your data. This can be a horrible experience to your users and they may leave your site without ever proceeding forward.
Deleting A Git Tag So, have you ever had a situation where you accidentally pushed the wrong tag to your remote repository and need to undo this? You can first delete the tag on your local copy. git tag -d TAGNAME Then push the tag to the remote
Getting Started How I Screencast So, I’ve been working on Drifting Ruby [https://www.driftingruby.com/] for over a year now. I have really enjoyed the learning process of what it takes to build and maintain a screencast site. It has been a bittersweet journey. I love recording