Kasper Timm Hansen
kaspth.com
Kasper Timm Hansen
@kaspth.com
Rails core alumni, gone Rails consulting on kaspth.com. You'll find my services, guestbook, talks, YouTube, posts, and newsletter there.

I also do deep-dives into the Rails source https://lu.ma/kaspth and riffing https://github.com/kaspth/riffing-on-rails
I'm sad I can't make it to the @xoruby.com events that @jremsikjr.bsky.social is putting on, so what if you went instead 😄

September
6th Chicago • 13th Atlanta • 20th New Orleans

October
11th, Portland • 18th San Diego • 25th Austin

Tickets xoruby.com/events
September 1, 2025 at 7:14 PM
When Open Source goes well, you don't necessarily hear that much from users because things are fine, so I like to track gem downloads just to see what's going on.

Looks like Associated Objects & Performs have both doubled, Stashed Redirects have been picking up, and Oaken's almost quadrupled!
August 10, 2025 at 3:30 PM
Another thing, sometimes I've also just cached the object instance directly like this (like for defining to_partial_path).

Then you're relying on the block capturing the local state and just returning that directly.
August 7, 2025 at 5:08 PM
Just gotta add some special effects so it looks great
July 13, 2025 at 6:17 PM
I'm really proud of how oaken holds up in practice so far.

@thomascannon.me's been a big adopter, and last week I went in and found some extra places to trim things.
June 20, 2025 at 4:26 PM
I'm working on an overhaul of Oaken's internals with more cohesiveness & flexibility.

Had the idea to compare with friends and see file and line of code count of their /lib directory. Oaken's gonna grow but this feels pretty good still!
April 20, 2025 at 7:03 PM
April 16, 2025 at 6:55 PM
.@garrettdimon.com attended my recent Action View specific deep-dive and had this to say:
April 12, 2025 at 3:22 PM
I'm speaking at #railsconf this July, and I'm showing off my unique approach to leveling yourself up — you deserve genuine durable skills.

So come learn how: yes, you can work on Rails & any other gem.
April 11, 2025 at 12:56 PM
February 25, 2025 at 9:14 PM
This is cool! The programmer in me wishes I could just configure it like this, maybe not healthy 😂
January 8, 2025 at 12:36 PM
Yeah, I'm thinking I'd be something like this and then you get both `record_path` and `record_url`.

Or do a `resolve` for each record and then pass them straight without needing the `record_url` helpers? Hm.
December 21, 2024 at 11:17 PM
Now that more people are catching onto my gems, I'm finding it validating to see these numbers going up bit by bit.
December 20, 2024 at 5:04 PM
I probably should cut 1.0 of performs, it's ridiculously stable.
December 16, 2024 at 7:08 PM
I've been polishing up the github.com/kaspth/activ... README.

You can now see all the benefits and more praise quotes now that people are seeing this in practice — I'm really proud of where this is going! 🚀
December 16, 2024 at 6:38 PM
@garrettdimon.com you're here in spirit 😄
November 13, 2024 at 10:38 PM
I find bio writing tough, but now it's hopefully a little more inviting ✨
November 10, 2024 at 2:42 PM