lib/rubocop/cop/rails/inverse_of.rb in rubocop-rails-2.17.4 vs lib/rubocop/cop/rails/inverse_of.rb in rubocop-rails-2.18.0

- old
+ new

@@ -135,12 +135,9 @@ # @example IgnoreScopes: true # # good # class Blog < ApplicationRecord # has_many :posts, -> { order(published_at: :desc) } # end - # - # @see https://guides.rubyonrails.org/association_basics.html#bi-directional-associations - # @see https://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#module-ActiveRecord::Associations::ClassMethods-label-Setting+Inverses class InverseOf < Base SPECIFY_MSG = 'Specify an `:inverse_of` option.' NIL_MSG = 'You specified `inverse_of: nil`, you probably meant to use `inverse_of: false`.' RESTRICT_ON_SEND = %i[has_many has_one belongs_to].freeze