djreimer/sequenced — pull request #9 by makebytes (2014-04-04 20:54:12+00:00)
Title: Validations on sequential_id

Changed callback from before_save to before_validations to allow validations on generated sequential id. For example:
validates :sequential_id, presence: true
validates :sequential_id, uniqueness: { scope: :project }

Unit test included.