method

show_deprecation_warnings

show_deprecation_warnings()
public

No documentation available.

# File activerecord/lib/active_record/associations/builder/collection_association.rb, line 32
    def show_deprecation_warnings
      [:finder_sql, :counter_sql].each do |name|
        if options.include? name
          ActiveSupport::Deprecation.warn("The :#{name} association option is deprecated. Please find an alternative (such as using scopes).")
        end
      end
    end