Removing rails specific coding and changing tabs from 2 to 4.