awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
bbatsov avatar

bbatsov/rails-style-guide

0
View on GitHub↗
6,509 stele·1,052 fork-uri·7 vizualizărirails.rubystyle.guide↗

Rails Style Guide

This project is a collection of community-driven coding standards and best practices for developing maintainable Ruby on Rails applications. It serves as a style guide, architecture reference, and development guide to ensure consistency across a codebase.

The guide provides technical recommendations for establishing naming conventions and architectural patterns. It specifically focuses on organizing models, controllers, and views to separate business logic from data persistence and user interface presentation.

The documentation covers a broad range of capabilities, including RESTful API design, database management for secure queries and reversible migrations, and the implementation of integration testing workflows. It also provides guidance on managing external dependencies, application configuration, and internationalization.

Features

  • Coding Standards - Provides a comprehensive collection of coding standards and best practices to ensure a maintainable codebase.
  • Architectural Patterns - Establishes the foundational architecture for organizing models, controllers, and views in a Rails application.
  • Ruby Code Standardization - Defines consistent naming conventions and structural rules to ensure long-term maintainability of the codebase.
  • ActiveRecord Patterns - Provides architectural guidance on implementing the ActiveRecord pattern for data access and validation.
  • API Design Guides - Provides professional guidelines for designing predictable and maintainable RESTful resource structures.
  • Coding Standards - Establishes consistent naming conventions and architectural patterns to improve long-term maintainability.
  • Database Schema Migrations - Establishes standards for reversible database schema migrations to ensure consistent state across environments.
  • Database Management Patterns - Provides technical standards for writing secure queries and reversible migrations to ensure data integrity.
  • Domain Model Implementations - Provides patterns for implementing business rules within dedicated model classes to separate logic from formatting.
  • Lean Controller Patterns - Guides the movement of business rules from controllers to the model layer to maintain slim action handlers.
  • Logic and Presentation Separation - Prescribes architectural patterns for separating business logic and data retrieval from the presentation layer.
  • Domain Data Presentation Layers - Provides guidelines for separating business logic, data persistence, and presentation layers using MVC patterns.
  • Coding Standards - Establishes a consistent set of coding standards and naming conventions for maintainable Rails projects.
  • Development Guides - Provides technical recommendations for managing migrations, routing, and testing workflows.
  • RESTful API Designs - Provides best practices for designing RESTful API endpoints that express clear relationships between data resources.
  • Resource-Based Routing - Defines a standardized approach to mapping RESTful resources to controller actions using member and collection routes.
  • Data Validation - Recommends extracting custom validators into dedicated files to standardize input data verification before persistence.
  • Database Record Querying - Provides best practices for retrieving data using batch processing and secure placeholders to optimize performance and security.
  • Package Dependency Management - Offers guidance on managing external dependencies and locking library versions for environment consistency.
  • Application Settings Management - Provides structural recommendations for organizing initialization code and global application settings.
  • Environment-Specific Loading - Defines how to organize and load configuration settings based on development, test, or production environments.
  • Project Structure Organization - Recommends a structured directory layout for organizing custom assets and third-party libraries.
  • Integration Testing - Guides the implementation of integration tests and time-manipulation helpers to verify complex real-world user flows.
  • Integration Testing Workflows - Provides a structured approach to implementing integration tests and time-manipulation helpers.
  • Reusable Template Fragments - Recommends using layouts and partials to create reusable and modular user interface fragments.
  • Interface Text Localization - Recommends using externalized locale files to handle interface text localization for multiple languages.
  • Presentation Layer Encapsulation - Provides standards for developing view layers that prevent direct data model access from the UI.
  • Internationalization & Localization - Guides the implementation of internationalization using structured locale files and dot-separated keys.
  • Code Quality and Patterns - Community-driven style guide for Ruby on Rails.
  • Programming Languages - Community-driven style guide for Rails development.
  • Coding Style Guides - Community-driven standards for framework development.

Istoric stele

Graficul istoricului de stele pentru bbatsov/rails-style-guideGraficul istoricului de stele pentru bbatsov/rails-style-guide

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Rails Style Guide

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Rails Style Guide.
  • bbatsov/ruby-style-guideAvatar bbatsov

    bbatsov/ruby-style-guide

    16,546Vezi pe GitHub↗

    This project is a community-driven Ruby coding style guide and static analysis standard. It provides a collection of agreed-upon rules for syntax, naming conventions, and structural guidelines to ensure uniform code appearance and maintainability across Ruby projects. The project serves as both a human-readable documentation resource for developers and a machine-readable RuboCop configuration specification. This allows natural language style guidelines to be mapped directly to automated linting rules. The system covers Ruby code standardization, style enforcement, and project governance thro

    Vezi pe GitHub↗16,546
  • thoughtbot/guidesAvatar thoughtbot

    thoughtbot/guides

    9,556Vezi pe GitHub↗

    This project is a software engineering style guide and a curated collection of architectural patterns and coding standards. It provides a multi-language coding standard to ensure maintainable software across Ruby, Python, JavaScript, and Swift. The project establishes a development workflow specification for version control, continuous integration, and peer review to maintain a linear project history. It also includes a web accessibility framework based on ARIA and WCAG standards, using design tokens and semantic HTML patterns to build inclusive interfaces. The guides cover a broad range of

    Ruby
    Vezi pe GitHub↗9,556
  • rwaldron/idiomatic.jsR

    rwaldron/idiomatic.js

    25,712Vezi pe GitHub↗

    This project is a JavaScript style guide and a set of coding standards designed to ensure codebase consistency. It provides a collection of best practices for writing maintainable and idiomatic code, focusing on variable naming, type checking, and execution context. The project serves as a static analysis guide, offering frameworks and guidelines for using linters and automated tools to identify bugs and verify code correctness before deployment. It establishes standards for formatting, syntax, and variable declarations to standardize code style across a project. The scope of the project cov

    Vezi pe GitHub↗25,712
  • airbnb/rubyAvatar airbnb

    airbnb/ruby

    3,890Vezi pe GitHub↗

    This project provides a collection of coding standard specifications, style guides, and configuration assets used to define automated rules for static code analysis in Ruby. It serves as a centralized set of RuboCop configurations and static analysis rules to ensure consistent syntax and idiomatic usage across a codebase. The project establishes a comprehensive Ruby style guide that defines naming conventions, indentation, and structural requirements. It utilizes a pluggable linting engine to enforce these standards through a defined set of patterns and constraints. The capability surface co

    Ruby
    Vezi pe GitHub↗3,890
Vezi toate cele 30 alternative pentru Rails Style Guide→

Întrebări frecvente

Ce face bbatsov/rails-style-guide?

This project is a collection of community-driven coding standards and best practices for developing maintainable Ruby on Rails applications. It serves as a style guide, architecture reference, and development guide to ensure consistency across a codebase.

Care sunt principalele funcționalități ale bbatsov/rails-style-guide?

Principalele funcționalități ale bbatsov/rails-style-guide sunt: Coding Standards, Architectural Patterns, Ruby Code Standardization, ActiveRecord Patterns, API Design Guides, Database Schema Migrations, Database Management Patterns, Domain Model Implementations.

Care sunt câteva alternative open-source pentru bbatsov/rails-style-guide?

Alternativele open-source pentru bbatsov/rails-style-guide includ: bbatsov/ruby-style-guide — This project is a community-driven Ruby coding style guide and static analysis standard. It provides a collection of… thoughtbot/guides — This project is a software engineering style guide and a curated collection of architectural patterns and coding… airbnb/ruby — This project provides a collection of coding standard specifications, style guides, and configuration assets used to… rwaldron/idiomatic.js — This project is a JavaScript style guide and a set of coding standards designed to ensure codebase consistency. It… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… firebase/quickstart-js — This project is a collection of reference implementations, sample code, and starter kits for integrating Firebase…