From: Jamal Hansen Date: 2005-08-17T08:39:36+09:00 Subject: Re: Passing inline hashes ------=_Part_7134_8917456.1124235572002 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 8/16/05, Brock Weaver wrote: > I just stumbled across an intresting problem with passing two hashes > to a method -- I was trying to pass inline hashes and ruby > interpretted them as blocks. (Makes sense looking back). >=20 > start_form_tag :action =3D> 'blah', :class =3D> 'css1' I'm a Ruby Nuby as well, but why would you pass 2 hashs? Couldn't you pas= s=20 a single hash? start_form_tag { :action =3D> 'blah', :class =3D> 'css1' } Maybe use parens if necessary start_form_tag({ :action =3D> 'blah', :class =3D> 'css1' }) -Jamal ------=_Part_7134_8917456.1124235572002--