alphagov/publisher — comment on commit 3c86f655a2b311d51531ddb6cfeb13d430d047c3
File: app/models/publication.rb line 115
By craigw:

Can we write this as:

(self.editions.where(state: state).count > 0)

to avoid the ternary?