sxross/MotionModel — pull request #20 by mattsgarrison (2013-02-14 20:25:46+00:00)
Title: Improving the presence validator to handle numeric data types.

I encountered a situation where I had defined a model with a float datatype and wanted to validate that it was provided, but the ':presence => true' validation fails to handle data that is not String or nil.

Added specs and changes to the MotionModel::Validatable.validate_presence method so that it will return true for Numeric data as well.