aasm/aasm — pull request #103 by aaronklaassen (2013-12-04 17:43:27+00:00)
Title: Initialize state even when skipping validations

Currently, the state is initialized on a before_validation callback, which gets skipped if the record is persisted with #save(validate: false).

This calls the initialization method again on before_create so the state gets initialized properly even if the validations are being skipped.