vanilla-rails-views

Installation
SKILL.md

Views & Templates

ERB conventions for vanilla Rails applications.

Partial Organization

Lowest common ancestor — place partials at the highest shared directory:

app/views/cards/_card.html.erb          # Shared by cards/show and cards/index
app/views/application/_flash.html.erb   # Shared across controllers
app/views/cards/display/_compact.html.erb  # Display variants

Never create deeply nested partials only used in one place.

Optional Locals

Use local_assigns.fetch with explicit defaults:

Installs
1
GitHub Stars
3
First Seen
May 5, 2026
vanilla-rails-views — zemptime/zemptime-marketplace