samuelvary1 / formal-affair-rails-web-1115

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:Other


Languages

Language:Ruby 78.2%Language:HTML 18.2%Language:JavaScript 2.0%Language:CSS 1.6%