znamenica/dneslov

View on GitHub
app/models/scriptum/cantoes/canticle.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Canticle < Canto
   validates :tone, inclusion: { in: 1..8 }, if: ->{ tone.present? }
   validates :prosomeion_title, absence: true, if: ->{ true }  # TODO validate why fails on descendants
end