danielweinmann/unlock — pull request #8 by diogob (2014-11-10 19:29:47+00:00)
Title: Refactored before_validation hook into smaller methods

The code is a bit longer but I believe the readability improvement should pay off.