Sign in

Janko Marohnić

@janko.io
262 followers 125 following 360 posts

Senior Ruby engineer, father, dancer. Creator of Shrine, rodauth-rails and vim-test.

PostsRepliesMedia
Janko Marohnić @janko.io · 26/08/2026
I did the following patch locally. Are you saying I could propose this be made in the package itself? They're using Rollup as far as I know.
100
Janko Marohnić @janko.io · 23/08/2026
It turns out having Rodauth render Inertia.js components is pretty simple ✨ github.com/janko/rodaut... github.com/janko/rodaut... I let Claude lead me down the wrong path multiple times, thinking the integration would be more involved. In hindsight, I would've been much faster without AI 😅
0100
Janko Marohnić @janko.io · 07/08/2026
Got my copy 😍 The 2nd edition contains chapters on concurrency (incl. Ractors) static typing (RBS, Sorbet) and code optimization (profiling, JIT) – straight from a Ruby committer. I admire Jeremy Evans for his dedication, though being a technical reviewer isn’t the easiest either 😅
Me holding the Polished Ruby Programming book
2121
Janko Marohnić @janko.io · 24/04/2026
"Agents" is probably the only tab I can't disable in repository settings. It's not that I'm not using agents, I'm just not using Copilot ones, because... I don't see the point? 🤷‍♂️
040
Janko Marohnić @janko.io · 25/03/2026
Here is an excerpt of some lint offenses👇 This will allow us to gradually narrow down our Bootstrap usage until we're ready to remove it completely. I don't know how we'd do it without Herb, thanks @marcoroth.dev!
110
Janko Marohnić @janko.io · 20/02/2026
This is the HTML interface I was able to achieve with Web Components 👇 With Stimulus, you have a lot of repetition in `data-*` attributes, because multiple controllers can be connected to a single element. It's beautiful how concise it is to just use HTML attributes 😍
360
Janko Marohnić @janko.io · 16/01/2026
This was satisfying 😌 github.com/shrinerb/shr...
160
Janko Marohnić @janko.io · 15/01/2026
Hmm, there is something wrong about how the code blocks render in the article. It appears the first line duplicates the whole code inline.
100
Janko Marohnić @janko.io · 10/12/2025
Ever forget whether it's "change_table" or "alter_table", "remove_column" or "drop_column", "set_column_null" or "change_column_null"? You don't? Well, I do 😄 So, I thought it would be cool if Ruby LSP could autocomplete schema statements in migrations ✨ github.com/Shopify/ruby...
3173
Janko Marohnić @janko.io · 20/11/2025
Hmm, works for me, as long as I hold "cmd".
110
Janko Marohnić @janko.io · 13/11/2025
Workspace symbol search on Ruby LSP should be working much smoother now on 0.26.3, @vinistock.bsky.social and I made a bunch of fixes recently 🤘 github.com/Shopify/ruby... github.com/Shopify/ruby... github.com/Shopify/ruby...
0111
Janko Marohnić @janko.io · 28/10/2025
...and it's up 🤘 github.com/Shopify/ruby...
2242
Janko Marohnić @janko.io · 27/10/2025
It seems I will do that in Ruby LSP land after all. I couldn't think of a sane interface for retrieving view prefixes from controller, and `_prefixes` seems kind of like private API anyway.
100
Janko Marohnić @janko.io · 27/10/2025
Like, this actually works 🤯
120
Janko Marohnić @janko.io · 14/10/2025
The Herb Linter by @marcoroth.dev just works™ It caught both the fact that we're missing double quotes and that we've used `<% %>` instead of `<%= %>`. And it automatically produced GitHub-compatible output 👌
1112
Janko Marohnić @janko.io · 17/07/2025
That's my 2nd blocker for replacing rack-attack. The 1st one is the inability to access rate limiting state for response headers to communicate rate limits to the caller. This is what we have at the moment:
100
Janko Marohnić @janko.io · 15/07/2025
@thorstenball.com Happy for the AGENT.md standard 🙌 Could Zed also be added to the list of tools that support this file? 🙂
120
Janko Marohnić @janko.io · 08/04/2025
I just found out that Ruby LSP has this code action, so it doesn't have to be re-implemented at the editor level 🤘 Unfortunately, it doesn't currently work in Zed, the language server says it's cannot complete the action. Maybe something for @vitallium.bsky.social? 🤞
110
Janko Marohnić @janko.io · 07/03/2025
It doesn't take much to make Arel more ergonomic.
291
Janko Marohnić @janko.io · 18/02/2025
I really value that Tailwind CSS documentation uses real-world examples to introduce features 🫶 Those are much harder to produce than contrived examples, and the benefit is that they not only teach me library API, but also various strategies I can apply to my project 💯
091
Janko Marohnić @janko.io · 14/02/2025
Zed's new edit predictions are really a level above GitHub Copilot 😍 It's not only able to suggest code within a line (e.g. between parentheses/quotes), but also *across* lines. I'm not familiar with Cursor, but this seems like a novel editor feature to me. zed.dev/edit-predict...
031
Janko Marohnić @janko.io · 01/02/2025
Sequel just added the ability to prevent SQL queries in a given block 👀 github.com/jeremyevans/... I wanted this in Active Record, to prevent new connections from being created when using Async Ruby in a certain place, as I assumed AR didn't have fiber concurrency yet.
030
Janko Marohnić @janko.io · 22/01/2025
@justcrosspost.app The Bluesky profile doesn't show up for me in the social connections tab.
100
Janko Marohnić @janko.io · 29/12/2024
Syntax errors generated by Prism are waay better than what Ruby's default parser generated before 🤘
image
1154
Janko Marohnić @janko.io · 17/12/2024
I've been using a custom script that calls either `bundle open` or `gem open` depending on whether the specified gem is in the project or not. Really useful for quickly diving into gem source code without thinking about my current working directory 😅
image
191
Janko Marohnić @janko.io · 13/12/2024
Feeling proud with the featureset rodauth-omniauth has accumulated over time. As a reminder, this gem takes things a step further than Devise, by implementing the OmniAuth callback route for you 😉
image
110
Janko Marohnić @janko.io · 09/12/2024
Do you know if this blank vertical space is a Bluesky bug in rendering images, or something to do with @justcrosspost.app?
210
Janko Marohnić @janko.io · 09/12/2024
Started using the new GitHub markdown alerts in READMEs recently, and it really levels up organizing information 👌
image
140
Janko Marohnić @janko.io · 03/12/2024
Expanded the JSON API guide for Rodauth with notes about CSRF protection and CORS settings 😌 github.com/janko/rodauth-rails/wiki… This should help newcomers that are making sense of the SPA + API architecture 🤞
image
100
Janko Marohnić @janko.io · 20/11/2024
Well, it's not really an HTML project 😅
Screenshot 2024-11-20 at 15.53.16.png
000