RuboCop // Docs
Home
Style Guides
Ruby Rails RSpec Minitest
API Docs
Projects
RuboCop RuboCop AST RuboCop Capybara RuboCop Minitest RuboCop Performance RuboCop Rails RuboCop Rake RuboCop RSpec
Community
GitHub Org Chat (Gitter) Open Collective

RuboCop Rails

    • Home
    • Installation
    • Usage
    • Cops
    • Cops Documentation
      • Rails
RuboCop Rails 2.10
  • RuboCop
    • default
    • 1.46
    • 1.45
    • 1.44
    • 1.43
    • 1.42
    • 1.41
    • 1.40
    • 1.39
    • 1.38
    • 1.37
    • 1.36
    • 1.35
    • 1.34
    • 1.33
    • 1.32
    • 1.31
    • 1.30
    • 1.0
  • RuboCop AST
    • master
    • 1.12
    • 1.11
    • 1.10
    • 1.9
    • 1.8
    • 1.7
    • 1.6
    • 1.5
    • 1.4
    • 1.3
    • 1.2
    • 1.1
    • 1.0
  • RuboCop Capybara
    • default
    • 2.17
  • RuboCop Minitest
    • default
    • 0.29
    • 0.28
    • 0.27
    • 0.26
    • 0.25
    • 0.24
    • 0.23
    • 0.22
    • 0.21
    • 0.20
    • 0.19
    • 0.18
    • 0.17
  • RuboCop Packaging
    • master
  • RuboCop Performance
    • default
    • 1.16
    • 1.15
    • 1.14
    • 1.13
    • 1.12
    • 1.11
    • 1.10
    • 1.9
    • 1.8
    • 1.7
  • RuboCop Rails
    • default
    • 2.18
    • 2.17
    • 2.16
    • 2.15
    • 2.14
    • 2.13
    • 2.12
    • 2.11
    • 2.10
    • 2.9
    • 2.8
    • 2.7
  • RuboCop RSpec
    • default
    • 2.19
    • 2.18
    • 2.17
    • 2.16
    • 2.15
    • 2.14
    • 2.13
    • 2.12
    • 2.11
    • 1.44
  • RuboCop Rails
  • Home
default 2.18 2.17 2.16 2.15 2.14 2.13 2.12 2.11 2.10 2.9 2.8 2.7
Edit this Page

RuboCop Rails

A RuboCop extension focused on enforcing Rails best practices and coding conventions.

It’s based on the community-driven Rails style guide.

Installation

Copyright (C) 2012-2023 Bozhidar Batsov and RuboCop contributors.

Except where otherwise noted, docs.rubocop.org is licensed under the Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).