lib/rubocop/cop/rails/inverse_of.rb in rubocop-rails-2.11.0 vs lib/rubocop/cop/rails/inverse_of.rb in rubocop-rails-2.11.1

- old
+ new

@@ -128,11 +128,10 @@ # # @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`.' + 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 def_node_matcher :association_recv_arguments, <<~PATTERN (send $_ {:has_many :has_one :belongs_to} _ $...) PATTERN