rails-style-guide
Installation
SKILL.md
Rails Style Guide
Apply these conventions when working with Rails projects.
Guidelines
- In HAML, put Ruby expressions on their own line; avoid inline
=.
Binstubs
When running Rails executables, always check for binstubs first:
- Check for binstub: Look for
bin/rails,bin/rspec,bin/rubocop, etc. - Use binstub if exists: Run
bin/railsinstead ofbundle exec rails - Fallback to bundle exec: Only use
bundle execif no binstub exists