Source: show | on GitHub
# File activerecord/lib/active_record/scoping/default.rb, line 12 def self.default_scopes? ActiveSupport::Deprecation.warn( "#default_scopes? is deprecated. Do something like #default_scopes.empty? instead." ) !!self.default_scopes end