Rails mvc breakdown assignment

Encountered strange bug where I couldn't get my deleting a post test to pass due to invalid authenticity token. Added the protect from forgery bit of code. Deleted it. Things started working after doing the 'change then unchange' method. 

<!---
@huboard:{"order":0.5,"custom_state":""}
-->