template rails apache