On 12/2/06, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > How about adding an optional parameter to the existing function? With it you > could control the return type (hash or string).
Would work as well, when the default is "as string". That said, the parameter should be "string"|"hash" and not false|true to make it easier to understand when reading the code. And your fully functional hash proposal should really replace the current implementation which looks like its origins were a need for a simple fromQuery / toQuery mechanism. New bug report where the current implementation bites the users: http://dev.rubyonrails.org/ticket/6788 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
