Kasper Timm Hansen

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 lu.ma/kaspth and riffing github.com/kaspth/riffing-on-r

Kasper Timm Hansenkaspth@ruby.social
2025-06-17

Have you been scared of diving into Active Record's internals?

On Thursday, I'll demystify what's going on behind belongs_to/has_many, scopes and more.

I'll save you the 6-8 hours I'd take you to do this on your own.
lu.ma/7wqif0ap

Kasper Timm Hansenkaspth@ruby.social
2025-06-16

I keep finding myself slinking away doing tons of Open Source, and then I never really gather it up anywhere.

I'm trying to get better at doing that so: kaspth.com/posts/kaspers-round

Kasper Timm Hansenkaspth@ruby.social
2025-06-11

Next Thursday, I'm excited to dive into Active Record's internals and show you what's going on in there.

Let's level you up, dispel some of the magic and have you more confident when you're using Active Record!

lu.ma/7wqif0ap

Kasper Timm Hansenkaspth@ruby.social
2025-06-06

really putting my name out there lol

A screenshot where my name appears 4 times
Kasper Timm Hansenkaspth@ruby.social
2025-06-06

I've been working on sprucing up my website kaspth.com

Go ahead and sign my guestbook πŸ˜„

Kasper Timm Hansenkaspth@ruby.social
2025-05-22

@alexanderadam hell yeah!

Kasper Timm Hansenkaspth@ruby.social
2025-05-20

@alexanderadam I'm in Geneva Wed-Sat but that's about it 😊

Kasper Timm Hansenkaspth@ruby.social
2025-05-20

@alexanderadam ah I was hoping you'd be there!

Thanks for passing your ticket on to someone else 🫑

Kasper Timm Hansenkaspth@ruby.social
2025-05-04

I'm doing a 2-hour workshop Wednesday May 14th on Riffing.

There's teams already taking advantage of riffing. They're iterating faster while achieving better, more cohesive code too.

Come join them! lu.ma/3jv4lcys

Kasper Timm Hansenkaspth@ruby.social
2025-04-23

@janpet awesome, sounds good!

Oaken could potentially help with seeds, and then reusing those for tests to tie the object graph together, but no worries :)

Kasper Timm Hansenkaspth@ruby.social
2025-04-23

@janpet by the way, I've got some other gems that may be helpful for new apps, active_job-performs pairs well with associated objects, oaken for seeds + fixtures + factories, there's stashed_redirects & showcase too. The other ones are probably not as relevant. rubygems.org/profiles/kaspth

Kasper Timm Hansenkaspth@ruby.social
2025-04-23

@janpet awesome, I'm really curious to hear how it goes! also more than happy to look at doc updates and potential features.

Kasper Timm Hansenkaspth@ruby.social
2025-04-23

@janpet I wonder if something like this would do? Needs more refinement for sure.

```ruby
class ApplicationForm < ActionView::Helpers::FormBuilder
def input(name, ...)
field = { string: :text_field }.fetch(object.class.type_for_attribute(name).type)
label(name) << public_send(field, ...) << errors(name)
end
end
```

Kasper Timm Hansenkaspth@ruby.social
2025-04-18

Shipped a chonker of an update to Oaken github.com/kaspth/oaken/releas

Kasper Timm Hansenkaspth@ruby.social
2025-04-17

In ~4 hours we'll deep-dive into the actual Rails source!

I literally just used these skills to verify how cookies rotations *actually* work in 5 minutes and saved a ton of guesswork.

6 seats left lu.ma/38co6lvz

Kasper Timm Hansenkaspth@ruby.social
2025-04-16

For the Rails deep-dive tomorrow, you can bring your team for even more impact because of network effects.

10 seats left, looks like another well attended one, thank you! πŸŽ‰

lu.ma/38co6lvz

Kasper Timm Hansenkaspth@ruby.social
2025-04-14

This Thursday will be the last general purpose Rails deep-dive I'm doing for a while, so if you or your team want in, now's probably the time.

17 seats left. lu.ma/38co6lvz

Kasper Timm Hansen boosted:
Lucian Ghindalucian@ruby.social
2025-04-14

Highlights from Launched and Discounts section and Events section from:
@Donn Felker @nateberkopec @kaspth @railsconf

πŸš€ Launches and Discounts

Donn Felker announced the release of Gramifier, a utility app that creates simple, clean Instagram images from Twitter posts and quotes
Nate Berkopec announced a 20% discount on The Speedshop retainer service for April, offering Ruby application performance optimization
πŸ“… Events:

Kasper Timm Hansen announced his Rails deep-dive session happening this Thursday, promising to compress 6-8 hours of learning into a 90-minute workshop
Rails Conf announced that the schedule for this year event is now live
XO Ruby is inviting developers of all levels who want to learn or refresh their Rails knowledge to join their book club reading
Kasper Timm Hansenkaspth@ruby.social
2025-04-12

We're doing another Rails deep-dive this Thursday! In an hour and a half, I'll give you what would take 6-8 hours on your own.

40+ people have already attended these sessions.

What if you could leave feeling confident to explore Rails? Where would that take your career? lu.ma/38co6lvz

Kasper Timm Hansenkaspth@ruby.social
2025-04-12

.@garrettdimon attended my recent Action View specific deep-dive and had this to say:

Kasper: How'd you like the deep-dive, was it helpful for what you're looking into with ERB + partials?

Garrett: Definitely. It helped provide a lot of context about how and why things are the way they are. The Rails documentation and source code is great for showing how something can be done, but there’s always a tinge of doubt in my head about whether I’m using a feature as intended or not.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst