Formal Affair

Instructions

Three resources have been set up and each needs their own set of forms.

Run the tests and look in the "app/views" directory for where the forms will live.

  1. Babies
  • Use the form_for helper.
  1. Concretes
  • Use the form_tag helper.
  1. Searches
  • Use the HTML <form> tag.

Here's the Rails Form Helper Guide.

Rails uses CSRF tokens in its forms to defend against the [cross site request forgery vulnerability] (http://guides.rubyonrails.org/security.html#csrf-countermeasures).

When you're not using a Rails form helper, you'll need to insert your own CSRF token.

Deliverables

Fork this repository and deliver your solution in master.

Resources

View this lesson on Learn.co