ginjo/rfm — pull request #8 by smartacus (2012-07-23 18:34:26+00:00)
Title: Added field converter feature

Added a converters configuration option allowing custom conversion of values in resultsets. A hash of field/lambda pairs is assigned to the converters configuration key to enable the feature.

As an example, you could specify that the 'logincount' field in this User model should be returned as an integer:
```ruby
class User < Rfm::Base
config :layout => 'my_user_layout'
config :converters => {
'logincount' => lambda { |f| f.to_i }
}
end
```