If you run a query such as the following: Group.find(:select => ''group.name, COUNT(members) as member_count'', :joins => :members, :group => ''group'') All of the sql calculations (e.g. member_count) are typecast as strings. Is there a way to specify how the results will be typcast? p.s. I realize there are other ways to accomplish the example, but this is a simplified version of the type of query I need to run taking advantage of the :select option for the ActiveRecord Find method. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.