Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Paweł Świątkowski
@katafrakt@ruby.social  ·  activity timestamp 2 weeks ago

New post: Integrating Pagy with Hanami (2025 edition)

https://katafrakt.me/2025/11/06/integrating-pagy-with-hanami-2025/

#ruby #hanami

  • Copy link
  • Flag this post
  • Block
Mike Perham :sidekiq:
@getajobmike@ruby.social replied  ·  activity timestamp 2 weeks ago

@katafrakt I found the point about `request` in the action to be a fascinating API caveat and a surprisingly fundamental design difference between Rails (stateful instance) and Hanami (stateless instance) with this knock-on effect.

I wonder if pagy() should offer a different helper for use in stateless contexts which does not reference implicit state.

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login