Feature for field method, passing a type option will accepts any active record sql types and type casts the value when it is  set.

This feature is helpful because I use ActiveHash for mock objects in my tests and this would allow them to more resemble ActiveRecord's functionality.