method
deprecation_warning
v6.0.0 -
Show latest stable
- Class:
Rails::Command::NotesCommand
deprecation_warning()private
No documentation available.
# File railties/lib/rails/commands/notes/notes_command.rb, line 29
def deprecation_warning
return if source_annotation_directories.empty?
ActiveSupport::Deprecation.warn("`SOURCE_ANNOTATION_DIRECTORIES` is deprecated and will be removed in Rails 6.1. You can add default directories by using config.annotations.register_directories instead.")
end