Blogmark
Rails’ Partial Features You (Didn’t) Know
via jbranchaud@gmail.com
https://railsdesigner.com/rails-partial-features/
Ruby on Rails
I'm a big fan of the way this article started with the basics and then layered in feature after feature in an approachable way, with examples that made me feel like I could apply these tips directly to my current codebase.
Though I knew most of this, it made for a useful refresher. I also liked how it connected the verbose versions (what I usually write) with the minimal, full-convention versions (e.g. rendering a partial collection with <%= render @users %>).
Both the layout and space_template options for a partial collection were new to me. TIL!
h/t Garrett Dimon