I added a few useful lines from the old rails_press