Have created a check box -Boolean function in Simple-form, wanted to know how the controller can hide the post when indicative from index. When a user creates a post he has an option to hide the post from all the post list (index.html.haml). In the form i have created active Boolean input , So if active is true post is shown in the index and if active is false the post is hidden from index.Have created a check box -Boolean function in S