Hi,

  I have a method & i wanna pass around 25 parameters to it and i hav to
make string from that, as follows...

def method1(email, b_day, b_month, b_year, gender, f_name, l_name,
mdl_name, title, country,  .......)

    params =
"email=#{email}&birth_day=#{b_day}&birth_year=#{b_year}.............."

end

it looks very odd when passing these many parameters. Is there any other
option that I can mention only mandatory args in the method & remaining
all are in single argument or something like that?

thanks in advance,
avantec

-- 
Posted via http://www.ruby-forum.com/.