lib/rubocop/cop/rails/inverse_of.rb in rubocop-rails-2.14.2 vs lib/rubocop/cop/rails/inverse_of.rb in rubocop-rails-2.15.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Rails
- # This cop looks for has_(one|many) and belongs_to associations where
+ # Looks for has_(one|many) and belongs_to associations where
# Active Record can't automatically determine the inverse association
# because of a scope or the options used. Using the blog with order scope
# example below, traversing the a Blog's association in both directions
# with `blog.posts.first.blog` would cause the `blog` to be loaded from
# the database twice.