Hacking on http://joyofrails.com
Ruby’s having a good run right now and it’s not even Christmas yet!
Ruby’s having a good run right now and it’s not even Christmas yet!
Awesome stuff!
Awesome stuff!
I often use it to omit parens and group keyword arguments on new line.
I often use it to omit parens and group keyword arguments on new line.
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...
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...
But I find ERB formatting support in VS Code a bit lacking at the moment. What do you use?
But I find ERB formatting support in VS Code a bit lacking at the moment. What do you use?
Here’s a link bsky.app/settings/thr...
Here’s a link bsky.app/settings/thr...
Just today I discovered ActiveRecord’s "excluding" and "with"—I already have a use for both in the Joy of Rails related pages query!
Just today I discovered ActiveRecord’s "excluding" and "with"—I already have a use for both in the Joy of Rails related pages query!
Here’s an ActiveRecord scope (a snippet() snippet if you will) to select additional "snippet" fields from an FTS5 virtual table (created separately).
Here’s an ActiveRecord scope (a snippet() snippet if you will) to select additional "snippet" fields from an FTS5 virtual table (created separately).
Matches with SQLite’s full text search extension (FTS5) can include excerpts containing markup which translates to visual indicators in the search results.
Matches with SQLite’s full text search extension (FTS5) can include excerpts containing markup which translates to visual indicators in the search results.
Amazing what a solo developer can accomplish with Rails these days.
Amazing what a solo developer can accomplish with Rails these days.