```ruby
class WelcomeController < ApplicationController
  def index
    @rsvp_form = RSVPForm.new
  end
  
  def rsvp
    rsvp_form = RSVPForm.new(form_params)
    rsvp_form.deliver
    redirect_to root_path
  end
  
  private
  
  def form_params
    params.require(:rsvp_form).permit(:guest_count, :guest_names, :food_restrictions)
  end
end
```

Add missing form parameters in welcome controller
user
```ruby
class WelcomeController < ApplicationController
  def index
    @rsvp_form = RSVPForm.new
  end
  
  def rsvp
    rsvp_form = RSVPForm.new(form_params)
    rsvp_form.deliver
    redirect_to root_path
  end
  
  private
  
  def form_params
    params.require(:rsvp_form).permit(:guest_count, :guest_names, :food_restrictions, :home_address, :phone)
  end
end
```
assistant