Skip to content
You must be logged in to sponsor kaspth

Become a sponsor to Kasper Timm Hansen

Hey, I'm Kasper — a long-time Ruby'er and Rails'er. I've served on the Rails core team for 6 years, merged 1000s of contributor PRs on rails/rails and I've made horribly great puns on Twitter.

Your sponsorship goes toward more exploratory work and experiments

I'm trying out different ways of extending and expressing domain models in Ruby and Rails. Here's what I've come up with so far.

Here's extending our model layer with more descriptive vibes:

Here's a Ruby extension to help define initializers https://github.com/kaspth/struct-initializer

I've added https://github.com/kaspth/conventional_extensions as an alternative way to extend your domain model instead of ActiveSupport::Concern.

Finally, https://github.com/kaspth/action_controller-stashed_redirects is some syntactic sugar on top of redirect_to to help with cross-controller communication.

For the future, I'm curious about exploring more extensions and changes to Rails' view layer. It's stayed the same for a decade and nobody's really touched it yet. Thank you for considering me for your sponsorship ✨

@kaspth

Funding to help new experiments, thank you 🎉

Current sponsors 7

@afomera
@derencius
@rafaelfranca
@DRBragg
@mikker
@flavorjones
@avo-hq

Past sponsors 32

@excid3
@jespr
@mjc-gh
@bpo
@javan
@rvalenciano
@tarellel
@datarockets
@skatkov
Private Sponsor
@mintuhouse
@williamkennedy
@saeloun
@GeneralProducts
@Edouard-chin
@thomasklemm
@kolide
@jacobherrington

Featured work

  1. kaspth/active_record-associated_object

    Extract Collaborator Objects from your Active Records, a new concept called Associated Objects

    Ruby 174
  2. kaspth/active_record-ingress

    Pass control of Active Record methods to a dedicated object.

    Ruby 35
  3. kaspth/conventional_extensions

    ConventionalExtensions sets up a file naming convention to extend your domain model

    Ruby 67
  4. kaspth/struct-initializer

    Reuse Struct.new's attr_reader and initialize generation in any class.

    Ruby 34
  5. kaspth/action_controller-stashed_redirects

    Stash a redirect to execute a controller flow within another and return to the original flow later.

    Ruby 35
  6. bullet-train-co/nice_partials

    A little bit of magic to make partials perfect for components.

    Ruby 262

28% towards 25 monthly sponsors goal

@afomera @flavorjones
@derencius @rafaelfranca @DRBragg @mikker @avo-hq

afomera and 6 others sponsor this goal

Select a tier

$ a month

A Public Sponsor achievement will be added to your profile.

$25 a month

Select

The Individual OSS Supporter

you can also use the custom tier to put in other amounts

$250 a month

Select

The Startup supporter