I have a very basic form, with some very basic validations (though I need to create a custom validation later... you\'ll probably see a question on that tomorrow. =P ), but
post '/' do
@entry = Entry.new(:first_name => params[:first_name], :last_name => params[:last_name], :email => params[:email])
if @entry.save
redirect("/thanks")
else
@title = "Enter to win a rad Timbuk2 bag!"
erb: welcome
end
end