samvera / active_fedora

A Rails interface to the Fedora repository, akin to ActiveModel
Other
54 stars 63 forks source link

don't try to delegate ""system_create_dtsi" to `#indexer` #1460

Closed no-reply closed 2 years ago

no-reply commented 2 years ago

not all models have an indexer (e.g. ActiveFedora::File inheritors do not). trying to query them with MyModel.all shouldn't raise a NameError.