I''ve submitted a patch for ticket #6158. Count should always return an integer. On decimal columns, the value was being type cast to match the column type. This makes sense for sum() and average() operations, but not for count() operations. -- Jarrett Meyer Email: jarrettmeyer@gmail.com Web: JarrettMeyer.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-core+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.