mjy on development
xspecify namespace test and not… (compare)
mjy on development
Add index to identifiers#cached (compare)
mjy on development
Fix #2163 (compare)
mjy on development
Fix #2172 (compare)
jlpereira on 1934_new_extract
Added identifiers actions (compare)
jlpereira on 1934_new_extract
Fix custom attributes (compare)
jlpereira on soft_validation_fixes
Tweak (compare)
!! You must redundantly provide STI subclasses and parent classes if you want to allow both. Providing
a superclass does *not* provide the subclasses.
OriginRelationship.group(:old_object_type,:new_object_type).count
(0.4ms) SELECT COUNT(*) AS count_all, "origin_relationships"."old_object_type" AS origin_relationships_old_object_type, "origin_relationships"."new_object_type" AS origin_relationships_new_object_type FROM "origin_relationships" GROUP BY "origin_relationships"."old_object_type", "origin_relationships"."new_object_type"
=> {["ImportDataset", "Person"]=>399}
Alright, so Unvetted it is. Thanks @mjy
originates_from(*
[
ImportDataset::DarwinCore::Checklist,
ImportDataset::DarwinCore::Occurrences
].map(&:to_s)
)
But perhaps I just change originates_from/is_origin_for method in development branch to call to_s
on all elements, right? (Which should be fully compatible with existing code). Any downside?