thanks for you response, sorry for delay in getting back, but I was in the middle of a large refactoring change and only just spotted your reply. You are correct, it does now work, needed both as: :actor and class_name: ‘Activity’
has_many :bound_activities, -> {where("a_start_date is not null and a_end_date is not null")}, as: :actor, class_name: 'Activity'