From: Ammar Ali Date: 2010-07-12T05:18:56+09:00 Subject: Re: How to pass a hash as a param to a method called through eval? --001636d352720e69d8048b22587f Content-Type: text/plain; charset=UTF-8 On Sun, Jul 11, 2010 at 10:57 PM, Alex Stahl wrote: > How can I pass it > so that it remains a hash, and retains its structure for key/val reading > in the receiver? > > Thanks, > Alex > Adding parentheses around #{call['params']} should do it: eval("#{call['action']}(#{call['params']})") Ammar --001636d352720e69d8048b22587f--