Removed old rails2 code