Ross Kaffenberger
banner
rossta.net
Ross Kaffenberger
@rossta.net
Father of 2 boys. Ruby on Rails and JavaScript developer. Triathlon on the side.

Hacking on http://joyofrails.com
Currently working on an in-browser demo to help visualize the difference between eager and lazy enumeration in Ruby
December 18, 2024 at 5:57 PM
Rails really is the One-Person Framework
December 17, 2024 at 3:20 PM
Great to see @adrienpoly.com and @marcoroth.dev with Ruby Video trending on trending on HN today after the Ruby Concurrency talk by @jpcamara.com hit the top spot yesterday.

Ruby’s having a good run right now and it’s not even Christmas yet!
December 17, 2024 at 1:09 AM
The new Ruby docs are looking great. The search feature is fast. New experimental features appear to be in the works too, like type signatures and runnable code examples.

Awesome stuff!
December 14, 2024 at 5:56 PM
Made some nice improvements to the Lighthouse score for the Joy of Rails homepage today. Biggest different was optimizing the article illustrations.
December 13, 2024 at 10:55 PM
I love Ruby so much that I write my HTML in Ruby. I’ve got nothing against ERb, but after a year of writing Phlex components, I’m not looking back.
December 9, 2024 at 11:44 PM
It’s such a simple thing, but I love that Ruby treats the backslash character as a line continuation, similar to a shell.

I often use it to omit parens and group keyword arguments on new line.
December 9, 2024 at 3:41 PM
Let’s see how Solid Cable on SQLite holds up.

I spent this week building realtime polls. I embedded the first one in my last article (unfortunately after the publish date).

joyofrails.com/articles/wha...
December 8, 2024 at 2:13 AM
I like organize my Tailwind classes by function with line breaks and tabs. I find it easier to read for excessively long class names.

But I find ERB formatting support in VS Code a bit lacking at the moment. What do you use?
December 4, 2024 at 1:15 PM
Thanks for the heads up. This is was I saw when I first opened the threads settings.

Here’s a link bsky.app/settings/thr...
November 29, 2024 at 7:52 PM
I am toying with a triple-nested route in Rails. I feel so alive. I am Kramer and the car salesman playing "beat the empty" on Seinfeld.
November 29, 2024 at 7:33 PM
I’m alway learning new things about Rails.

Just today I discovered ActiveRecord’s "excluding" and "with"—I already have a use for both in the Joy of Rails related pages query!
November 21, 2024 at 8:47 PM
snippet() is a SQLite function that returns a snippet of text containing the search term. It’s used to highlight search results.

Here’s an ActiveRecord scope (a snippet() snippet if you will) to select additional "snippet" fields from an FTS5 virtual table (created separately).
October 31, 2024 at 8:24 PM
Ok, this is cool. The latest iteration of my nascent search feature for Joy of Rails are "snippets".

Matches with SQLite’s full text search extension (FTS5) can include excerpts containing markup which translates to visual indicators in the search results.
October 31, 2024 at 8:11 PM
My weekend project for joyofrails.com was to build a (very) basic Command+K search dialog with Hotwire and the SQLite FTS5 virtual table extension (for full text search indexing).

Amazing what a solo developer can accomplish with Rails these days.
October 28, 2024 at 1:44 PM