put cell class first in rb file