Rails Style Guide Topics
This project appears to have been a Rails style guide published by the womply account, covering conventions for developing Rails applications such as configuration, Bundler usage, Active Record and recommended gems.
Its original feature documentation is no longer published here, and the pages below are independent guides to the topics it covered, not the project's own documentation. The advice here is our own.
Guides
- Active Record Style: Models, Scopes, Callbacks and Queries
Opinionated guidance for writing Active Record models in Rails: model layout, scopes, validations, callbacks, and avoiding N+1 queries.
- Bundler Practices for Rails Projects
Guidance on using Bundler well in a Rails app: version constraints, committing Gemfile.lock, groups, updates and CI usage, with examples.
- Rails Configuration Conventions
Style guidance for configuring a Rails app: where settings belong, environment files, initializers, secrets and custom configuration with examples.
- Choosing Gems for a Rails Application
Guidance on picking and maintaining gems in a Rails app: when to add a dependency, how to evaluate it, and gems that often earn their place.