add map, galleries rails no js pattern