Skip to main content

Posts (Page 5)

Where to buy your domains

Domain registrars is hard get right, here are the ones I like.

Removing Active Storage Routes from Rails 5.2

Active Storage is pretty cool, but it added new routes to my old rails apps.

Setting up Heroku release tasks for Ruby on Rails

Run migrations, clear caches and other things without downtime when deploying.

Using Decorators in Rails

Avoid adding if/else logic inside view, instead use Decorators.

Using I18n in Rails Validations

Don't hard code strings into your models, put them in your locales!

Stop resizing images with Ruby

Ruby shouldn't be used to resize images, instead do it in the cloud.

Waiting for Cloudinary uploads to finish with Rails UJS

How to nicely disable a form to let uploads finish before submitting to the server.

Building and shipping TrackChanges

I shipped a Chrome extension, it was an adventure.

A year after monetising my Chrome Extension

I learnt a lot in the last year, I had to share what I learnt!

Elegant Rails 5 Scopes

Stop writing raw SQL, instead let Active Record handle that for you.