Jay Levitt wrote: > user.login = options[:login] if options[:login] > user.password = options[:password] if options[:password] > user.other = options[:other] if options[:other] > > Felt kinda repetitive. I guess I could DRY that up in an eval loop. No need for eval... [:login, :password, :other].each do |key| user.send "#{key}=", options[key] if options.key?(key) end -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407