mongomapper/mongomapper — pull request #574 by smtlaissezfaire (2014-05-23 21:07:37+00:00)
Title: write_attribute should return a type casted value

write_attribute currently doesn't return the type casted value.

See this gist:

https://gist.github.com/smtlaissezfaire/e57dfaa90f87d9de7fa9