[RAILS] 2020/10/4 Tech Camp Day 14 Output

Create a Rails posting app Save tweets

--Stage 1 Access the tweet posting page

--Set the routing of the new action and define it in the controller --Generate an instance variable of Tweet class --Use the helper method form_with and model options in the view of the tweet posting screen --Posting work on the tweet posting page in the second stage

--Set the routing of create action corresponding to the request of form_with --How to save data from a form --Strong parameters are roles that limit the reception of only parameters with the specified key. --The reason for using it is that if you do not limit the parameters you receive, parameters other than the specifications will also be used. -→ Preventing others from changing your password

Continue

Recommended Posts

2020/10/1 Tech Camp Day 11 Output
2020/10/3 Tech Camp Day 13 Output
2020/10/2 Tech Camp Day 12 Output
2020/10/4 Tech Camp Day 14 Output
TECH CAMP After 10 weeks
[Impression] Take a Tech Camp
TECH CAMP learning personal application creation ③
TECH CAMP learning personal application creation ②
TECH CAMP learning personal app ④ git ignore