lib/rubocop/cop/rails/delegate_allow_blank.rb in rubocop-rails-2.14.2 vs lib/rubocop/cop/rails/delegate_allow_blank.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 delegations that pass :allow_blank as an option
+ # Looks for delegations that pass :allow_blank as an option
# instead of :allow_nil. :allow_blank is not a valid option to pass
# to ActiveSupport#delegate.
#
# @example
# # bad