how i kept my rails app from becoming a s#!t show