Closed kingcons closed 9 years ago
I don't quite understand the attr_accessible in the model and how it relates to strong parameters. Can we go over it in class?
http://stackoverflow.com/questions/17371334/how-is-attr-accessible-used-in-rails-4
You shouldn't user attr_accesible in Rails 4. attr_accessible is basically for saying what fields are allowed to be mass assigned. In rails 4, we just use strong params for security. ask me or brit if you have questions.
Description
Read up on URL generation, resourceful routing, and form helpers as described here.
Submission
Post a question you have from the reading in the comments when you close this issue for discussion in homework review tomorrow.