Pinned Tweet
I’ve started something new: Joy of Rails. It's my take on sharing what I love about building web apps with Ruby on Rails.
As an early hint of what’s to come, I used Hotwire to drop a color scheme previewer into my latest article. Check it out.
joyofrails.com/articles/cust…
One thing I loved about DarkSky is to get an idea of what the weather is usually like in some location at a given time of year. What’s a good app for that these days?
What a game.
Whatever happens in the second half, it has been awesome to see my hometown Washington Commanders good at football again.
#Commanders #Lions
In case you missed it, here’s my recent article where you get to play with an interactive demo to visualize how Ruby’s Enumerator::Lazy helps avoid unnecessary work
I made a thing to help you visualize how Ruby’s Lazy Enumerator works, so your code can do less work.
joyofrails.com/articles/simp…
I made a thing to help you visualize how Ruby’s Lazy Enumerator works, so your code can do less work.
joyofrails.com/articles/simp…
Ross Kaffenberger retweeted
Welp the day has come that the company I worked for got sunset so I am on the hunt for a new job. If anyone happens to know of any great Rails shops(that use turbo 🤞) feel free to reach out! DMs are open. RTs for reach appreciated.
Noah was brilliant and kind, a talented programmer, an even better person. He left an indelible mark on the Ruby community. I feel privileged to have met Noah and I will miss him dearly. My heart goes out to his family.
Noah Gibbs (@codefolio) has passed away.
His big dream in life was to help build the Ruby community up. He wanted to be like the folks who worked to create the railroads during the industrial revolution. He thought Ruby was the best way to do (fill in the blank) and he wanted to share his knowledge as widely as possible. His kindness and generosity extended into every corner of his life.
Noah's passing was sudden and very fast. He did not suffer. He is survived by his wife and children.
Currently working on an in-browser demo to help visualize the difference between eager and lazy enumeration in Ruby
And today, @nodunayo is #1 on HN for her Brighton Ruby @thestorygraph talk.
Congrats, Nadia for your software, business, and speaking accomplishments!
Great to see @adrienpoly and @marcoroth_ with Ruby Video trending on trending on HN today after the Ruby Concurrency talk by @jpcamara hit the top spot yesterday.
Ruby’s having a good run right now and it’s not even Christmas yet!
Great to see @adrienpoly and @marcoroth_ with Ruby Video trending on trending on HN today after the Ruby Concurrency talk by @jpcamara hit the top spot yesterday.
Ruby’s having a good run right now and it’s not even Christmas yet!
Powered by Rails and Hotwire!
github.com/rubyapi/rubyapi
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!
Made some nice improvements to the Lighthouse score for the Joy of Rails homepage today. Biggest different was optimizing the article illustrations.
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.
![Example Phlex component in Ruby:
render CodeBlock::Body.new(data: {controller: "snippet-editor"}) do
div(class: "grid-stack") do
render CodeBlock::Code.new(source, language: language, data: {snippet_editor_target: "source"})
label(class: "sr-only", for: "snippet[source]") { "Source" }
div(class: "code-editor autogrow-wrapper") do
textarea(
name: "snippet[source]",
data: {snippet_editor_target: "textarea"}
) { source }
end
end
end
end](https://pbs.twimg.com/media/GeZQHzfWwAAT6YY.jpg?name=small&format=webp)
ALT Example Phlex component in Ruby: render CodeBlock::Body.new(data: {controller: "snippet-editor"}) do div(class: "grid-stack") do render CodeBlock::Code.new(source, language: language, data: {snippet_editor_target: "source"}) label(class: "sr-only", for: "snippet[source]") { "Source" } div(class: "code-editor autogrow-wrapper") do textarea( name: "snippet[source]", data: {snippet_editor_target: "textarea"} ) { source } end end end end
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.
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/what…










