Advertisement · 728 × 90

Posts by Dennis Paagman

Awesome! How did the 1/2 marathon go? I’m almost up to 30 min without walking 😊

4 months ago 3 0 1 0
Making sure local CI is green before deploying to Heroku Automatically run Rails 8.1’s local CI before deploying to Heroku. This ensures your CI is green before you deploy.

I've also made a small pre-push git hook to prevent myself from deploying broken things to Heroku, i've shared it on my website: paagman.dev/rails-local-...

All in all it's a great experience and I highly recommend giving it a try, especially for smaller projects!

4 months ago 1 0 0 0

I've been using local CI with Rails 8.1 the last weeks. It works well and really is faster, as all those slow set up steps are no longer required.

I ran into a small bug that I fixed and added a `--fail-fast` option. Both got merged into Rails main already!

4 months ago 1 0 1 0
Shopify, pulling strings at Ruby Central, forces Bundler and RubyGems takeover Ruby Central recently took over a collection of open source projects from their maintainers without their consent.

After listening to about a dozen first-hand accounts, I’ve published what I know about the RubyGems takeover.

6 months ago 208 81 19 16
Hotwire Native is extremely future proof The release of iOS 26 and its new design shows how future-proof Hotwire Native is. No code changes required to upgrade your app to the new look.

Hotwire Native is extremely future proof and the release of iOS 26 shows why → paagman.dev/hotwire-nati...

7 months ago 10 4 0 0
Handling chrome.devtools.json requests in Rails apps Handle Chrome DevTools workspace requests using a simple Rack middleware to eliminate log errors and enable automatic workspace mapping.

Tired of 'No route matches [GET] "/.well-known/appspecific/com.chrome.devtools.json"'? No more with this middleware 👉 paagman.dev/handling-chr...

7 months ago 4 0 0 0

No I never upload to their cloud, just copy and paste the files where I need them.

7 months ago 0 0 0 0

the baby is in sudo mode all the time, so it's appropriate 😂

7 months ago 4 0 1 0
Advertisement

Flameshot is pretty good, not as good though!

7 months ago 3 0 1 0
Preview
order_summary.rb GitHub Gist: instantly share code, notes, and snippets.

A solution in Ruby that really showcases some of the nice enumerable methods it has: gist.github.com/dennispaagma...

7 months ago 2 0 0 0

Awesome :) will add it to my apps soon

9 months ago 1 0 0 0

Can you also make it give an error or warning on the implicit boolean values? That's a yml footgun that would be great to avoid!

9 months ago 1 0 1 0

So you are not entertained?

10 months ago 3 0 1 0

Awesome! Can't bring my espresso machine, but hopefully I can still get some good coffee ☕

10 months ago 2 0 1 0

do you keep away from STI because it does not work with foreign key constraints?

11 months ago 1 0 1 0

@marcoroth.dev I have some files for you on which Herb sometimes crashes (either segfaults, crashes with a bug (try to mark T_NONE object) or a full hang where I have to `kill -9` the process), are you interested in them? I think I can share them with you, but rather not publically on Github!

11 months ago 2 0 1 0
Advertisement
Deep link into apps with Hotwire Native and universal links (iOS) Use universal links to open links directly in their app, but keep them in yours otherwise by handling them in a modal.

Wrote up a small article on something I've implemented in my Hotwire Native app that I think is useful for everyone!

This opens universal links directly in their own app, but still opens the rest in a modal.

paagman.dev/deep-link-ho...

1 year ago 0 0 0 0

oh yeah of course, crazy how my mind just ignores it because it has no 's' behind it like the others.

1 year ago 2 0 1 0

in an other, smaller app:

> Finished in 0.03202 seconds (files took 1.02 seconds to load)

> bin/rspec spec/bla.rb 0.86s user 0.37s system 96% cpu 1.275 total

1 year ago 1 0 0 0

with rspec, interestingly the "seconds to load" is higher than what `time` outputs.

> Finished in 0.1374 seconds (files took 2.51 seconds to load)
1 example, 0 failures

> bin/rspec spec/bla.rb 1.90s user 0.86s system 95% cpu 2.891 total

1 year ago 1 0 2 0

Same for me!

1 year ago 1 0 1 0

I’m available for hire.

I’m an experienced Ruby, TypeScript and CSS engineer looking for a new full-time position.

I can help you with performance, concurrency, testing, architecture and API design problems on tooling or product teams.

I’d really appreciate any personal introductions. DMs open. 🙏

1 year ago 111 67 5 1

I asked them and we need to wait a little while longer:

> I reached out to our Engineers to know when are we going to release Postgres 17. Looks like we don’t have the ETA as of now. As a very rough timeline, between Feb and April.

1 year ago 0 0 0 0
As Rails developers, why we are excited about PostgreSQL 17 Why we are excited about PostgreSQL 17 for our Rails applications.

Postgres 17 has made some improvements that can speed up Rails apps a lot (see: benoittgt.github.io/blog/postgre... by @benoittgt.bsky.social).

But it's not available on Heroku yet!

1 year ago 2 0 1 0
Make delete actions stand out in Hotwire Native menus Automatically make menu items red for destructive actions in Hotwire Native menus.

I wrote up another small post about Hotwire Native! How to make 'delete' menu items stand out in the menu component. Hopefully it's useful for someone as I really like them this way 🙂 paagman.dev/make-delete-...

1 year ago 1 0 0 0
Building a Native sharing component with Hotwire Native (iOS) Learn how to implement native sharing functionality in your Hotwire Native app using a bridge component

I wrote up a little post about how to get native sharing working with Hotwire Native → paagman.dev/hotwire-nati...

1 year ago 0 0 0 0
Advertisement
Bundler: gemfile

Did you know you can bundle gems directly from a GitHub gist? I didn't, and I'm wondering if anyone ever uses that 🤔

bundler.io/v2.5/man/gem...

1 year ago 0 0 0 0

Hahah I did the same over the last weeks. Painful but great when it’s done!

1 year ago 0 0 0 0

And:

* Upgraded to Turbo 8.
* Enabled some of the newer Turbo features like morphing and link prefetching. Feels really smooth and fast.

Now onto Rails 8!

1 year ago 0 0 0 0

Also:

* got rid of some old jQuery based libraries, like selectize and a datepicker. Now on hotwire_combobox and the regular browser native datepicker.
* introduced Phlex and Tailwind in a few places.
* migrated from Font Awesome to Phlex icons.

1 year ago 1 0 1 0