Well, it's a problem for Sybase too, so it'd be nice to fix it for all cases. Maybe by normalizing the key? I noticed that if I added to_s in execute_grouped_calculation(), all those tests passed (but caused two other tests to fail):
Yeah, except that seems backwards -- the key actually is an int, would be nice if we could leave it that way. Actually forcing it to a string in calculations seems odd.
I was also thinking that it could be resolved by returning something like OrderedHashWithIndifferentAccess, and having the unit tests test using the symbols.
_______________________________________________ Rails-core mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-core
