Semih Masat
Joined
1,210 Experience
12 Lessons Completed
0 Questions Solved
Activity
hey, great video again.
but i had one thing i had little hard time understanding. it was the "blog_post_params" method.
i thought it was just filtering and did not quite understand how it works. it turns out params.require(:blog_post) gets the blog_post itself. I was thinking it as a filter.
But it turns out it finds the object and makes it it's root object. And then .permit part makes the actual "filtering".
You kinda explained this quickly on your previous videos but actually understanding that part is really important to understand this video. Maybe you can mention it somewhere again.