Mike Rogers ✈️

Mike Rogers ✈️ @mikerogers0

About: A Rubyist, a menace, a web hygienist.

Location:
London, UK
Joined:
Jun 30, 2019

Mike Rogers ✈️
articles - 21 total

Moving From Tailwind To Vanilla-er CSS

I've been playing around with Tailwind CSS a lot since it's release, and so far it's been really impr...

Learn More 161 24May 12 '21

How To Handle Special Actions In Ruby on Rails Controllers?

Imagine you have a table called crops in your database, which contains a column named harvested_at. Y...

Learn More 12 2Mar 19 '21

Persist Scroll Positions with Hotwire Turbo

Persisting the scroll position of an element is a nice way to keep users not get lost on your web...

Learn More 18 0Mar 3 '21

How To Encrypt Fields in Ruby on Rails with Lockbox

If you're storing any sensitive data such as API Keys, or personal data you should probably be en...

Learn More 11 0Feb 9 '21

Fixing "sqlite3 gem which is not supported on Heroku"

When I first tried to deploy my Ruby on Rails app to Heroku, I ran into a really annoying error w...

Learn More 4 1Jan 31 '21

Review Emails with ActionMailer::Preview

Rails is one of my favourite frameworks, I think because it ships with a little known feature cal...

Learn More 3 0Jan 24 '21

Resize Images with Active Storage in Rails

We used to have to use gems like Carrierwave & Paperclip to upload files & manipulate ima...

Learn More 41 2Jan 6 '21

How To Setup A Secondary Archive Account On GitHub

If you're anything like me, you probably have a GitHub account where you've collected a lot of reposi...

Learn More 9 0Jan 4 '21

Inline Editing With turbo_frame_tag (hotwire-rails)

One of my favourite Single Page Application (SPA) tricks is allowing the user to edit something (...

Learn More 34 3Dec 29 '20

Real-Time Partial Updates in Ruby on Rails using hotwire-rails

The hotwire-rails was just released today by Basecamp. It's a collection of JavaScript & Ruby...

Learn More 60 14Dec 22 '20

How to Make Rails Work Offline (PWA)

I've been experimenting a lot lately with allowing Ruby on Rails to work offline, by this I mean havi...

Learn More 10 0Dec 14 '20

Is reset_column_information a code smell?

If you've worked with Ruby on Rails you've probably written a migration at some point that made use o...

Learn More 1 0Nov 1 '20

ActiveRecord::Events - Awesome Gems

I really like using timestamps over booleans, they add so much more free information compared to...

Learn More 6 0Oct 14 '20

Lorgage - Taming Rails Logs (Video)

I've love steaming through the Rails logs, they can help debug problems pretty quickly. However b...

Learn More 5 0Oct 7 '20

Admin Panels In Rails 6 (Video Series)

One of my most reached for gems when working with Ruby on Rails is ActiveAdmin. It's a framework for...

Learn More 9 1Oct 5 '20

Seeding Data In Ruby On Rails

I've been working on recording a few of my presentations, I still don't think I've perfected the styl...

Learn More 7 0Sep 23 '20

Was my GitHub Action a success?

It's September 23 tomorrow & that means the GitHub Actions Hackathon on DEV is coming to an end....

Learn More 3 2Sep 22 '20

Using Docker to Speed-up My GitHub Action

I wrote my GitHub Action using Ruby, however out the box it requires a few libraries to run, which me...

Learn More 8 0Sep 6 '20

People are using my Action :D

My GitHub Action ( TypoCI/spellcheck-action FYI! ) is coming along nicely, now I'm moving onto the ha...

Learn More 3 2Sep 2 '20

Picking the right Open Source License

One of the requirements for GitHub Actions Hackathon is to have an Open Source license. Truth be to...

Learn More 3 0Aug 20 '20

Spell Check Commits & PRs

I hate having spelling mistakes in my code. I want to make sure the next person to sees my work has a...

Learn More 9 3Aug 17 '20