2022: Year in Review & A Look Ahead
2022 was an incredible year for my family. A look back at what happened and a look forward at what will be.
State Design Pattern
State Design Pattern is often overlooked in favor State Machines when it comes to Rails and object state management. However, the State Design Pattern is a highly effective open/closed solution to many state design woes.
Double Polymorphic Associations in Rails
A quick overview of using associations to define good domain descriptions as well as good behavior.
Using SSH Tunneling
Use SSH Dynamic Port Forwarding/Tunnel to route web traffic.
Trying out GCC Emacs
I've always had complaints about emacs performance but the latest native compilation branch squashes any concerns I have with it.
Thoughts on Interfaces for Models
After making small changes to a model, it got me thinking hard about how I build interfaces.
I'm taking part in the #100DaysToOffload challenge: Write 100 blogs in a year.
Rewrote this site... Again
This is the second time I've re-written this site in 4 months.
Using Run Command in Emacs for RSpec Watch Mode
I am a sucker for small micro-optimizations in my Emacs config. The Run Command package gives plenty of opportunity for that, while also building powerful automation opportunities. Here's the config I came up with for an RSpec watch mode.
Resolving client side routes in Rails
Tell Rails to pass routes to a client with a nifty helper.