Remove some rails copy/paste