class FormHandler def handle_form(section , data ) @data = data data.each do |name , value| puts "#{name}: #{value}" end FormMailer.received(data).deliver_later end end