Modified Maintopics table to be rails specific