should be using a proc to convert given value to an integer, eg. `:proc => proc {|a| a.to_i }`