Mark Grealish

the life and code of a crazy cat man



Garrett in Cliffoney, July 2012

July 7, 2012

Ella, Caira and Garrett at the park, June 2011

Taken at Lough Atalia, Galway.

Eadaoin, Brussels, October 2016

Unhappily Coned, February 2017

Poor Cookie. :(

Pretty and red at Blackrock

Perfect and Blue and Empty

The day was too much, so I climbed a hill and decided to be for a while.

Hell of a week

I couldn’t get my head straight on Tuesday so I went to look at the sea instead.

Ballycorus Leadmines

Photographed on my hike today. I was surprised when this photograph came out, let alone perfectly, because the wind blew me flat on my ass as I finished the capture.

Always Grouchy

Taken at Blackrock, Dublin.

Skip model callbacks through factory_girl in Rails 5

The kind of callback we skip are expensive calls to third-party services. These are all tested separately within our suite. In Rails 4, we used this pattern to skip certain callbacks: FactoryGirl.define do factory :fremen do name 'Liet Kynes' fierceness :high after :build do Fremen.skip_callback :create, :after, :bribe_spacing_guild end trait :with_bribe do Fremen.set_callback :create, :after, […]