VP Engineering at CoverageBook, Rubyist, Conference Organizer, Author, Speaker, Bootstrapper & Parent of Twins.
I’m tired a lot.
An email newsletter, with one Ruby/Rails technique delivered with a ‘why?’ and a ‘how?’ every two weeks. It’s deliberately brief, focussed & opinionated.
- Use Multiple Migrations When Adding Database Constraints
- Always Force Booleans to be True or False
- Write long strings with wiggly HEREDOCs
- A scope should return a scope
- Don’t Loop & Do Work in Jobs
- Using pluck can save a bunch of memory
- Careful with present? when using ActiveRecord scopes
- Use the presence method
- Delegate to simplify your code
- Ignore PHP bots with Rack::Attack
- Use beginning and end of string in regular expressions
- Active Record’s first and last may not mean what you think
- A job should know whether to run itself
- Use Hash#fetch when using Rails params in controllers
- Stop robots and crawlers causing errors in your Rails application
- more ruby articles…
- Year in Review 2018
- Year in Review 2017
- Duncan Croll, 1952—2016
- The New Homes of Five Simple Steps Books
- Pivotal Tracker Fluid Icon
- Furiously Paddling Underneath
- Founder Shares & Dilution at Tumblr: How Much Did The Founders Make?
- What Should I Buy for Twins?
- What Buggy/Travel System Should I Buy For Twins?
- Leaving Singapore
- Ubud, Bali
- Pay, Equity and Startups
- Pitchaholics Anonymous
- South Africa: Mala Mala & Cape Town
- Pivotal Labs & EMC: The Future?
- Setup DLink ShareCenter DNS-320 on Mac OS X
- Running RedDotRubyConf 2011
- Setting up a Company in Singapore as an Expat
- My First Hate Mail from Wen Kole, Singapore