Apr 15, 2019

Trivial Batch Actions

Implementing batch actions in Rails.

Dec 18, 2018

Using ActiveModel::Attributes

For things that you think you might need a service object for to do it cleanly.

Aug 6, 2018

My option on application_thing.rb vs base_thing.rb

An approach to better organization for your Rails apps that may or may not be wrong.

Jul 27, 2018

Everything in your app directory should have an application_thing.rb

Organizing similar controllers in your Rails apps.

Jul 17, 2018

Introducing Setsy

Instance-level settings for ActiveRecord records.

Mar 14, 2018

Wrapping rendered collections into a layout without a file

A hack that should probably be avoided.

Jan 8, 2018

My ultimate life hack

Something about pizza.

Dec 8, 2017

Improving Watsi's fraud prevention

Giving more context about Watsi.org's attempt to prevent fraud, from a former fraudster.

Mar 19, 2013

Purge ActiveStorage Attachment by Attribute

Keep the familiar patterns of ActiveRecord and purge attachments with an attribute.