app/models/spotlight/exhibit.rb in blacklight-spotlight-2.13.0 vs app/models/spotlight/exhibit.rb in blacklight-spotlight-3.0.0.alpha.1
- old
+ new
@@ -53,14 +53,10 @@
has_many :reindexing_log_entries, dependent: :destroy
has_many :resources
has_many :roles, as: :resource, dependent: :delete_all
has_many :searches, dependent: :destroy, extend: FriendlyId::FinderMethods
has_many :solr_document_sidecars, dependent: :delete_all
-
- # Ignoring for https://github.com/rubocop-hq/rubocop/issues/6764
- # rubocop:disable Rails/ReflectionClassName
has_many :users, through: :roles, class_name: Spotlight::Engine.config.user_class
- # rubocop:enable Rails/ReflectionClassName
has_many :pages, dependent: :destroy
has_many :filters, dependent: :delete_all
has_many :translations, class_name: 'I18n::Backend::ActiveRecord::Translation', dependent: :destroy, inverse_of: :exhibit
has_many :languages, dependent: :destroy