This is correct. So is redirect_to @post (along with some other forms as well)