rubiety/validates_lengths_from_database — pull request #7 by joelvh (2013-04-07 06:39:45+00:00)
Title: Use before_validation callback to "lazily" validate column lengths

My initial commit https://github.com/joelvh/validates_lengths_from_database/commit/00ac9c3bf7d0a644bf5279e97355126d5f66a6be included a validator that gets added to the model. It works, but using the `before_validation` callback in my latest commit keeps the original code more intact.