------ art_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 <brockweaver / gmail.com> 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). > > start_form_tag :action => 'blah', :class => 'css1' I'm a Ruby Nuby as well, but why would you pass 2 hashs? Couldn't you pass a single hash? start_form_tag { :action => 'blah', :class => 'css1' } Maybe use parens if necessary start_form_tag({ :action => 'blah', :class => 'css1' }) -Jamal ------ art_7134_8917456.1124235572002--