Fixed an error in the before_validation

before_validate should be before_validation
Merge pull request #48 from gmaliar/master

Fixed before_validate into before_validation
Merge remote-tracking branch 'upstream/master'