enable rack miniprofiler for prod mode if get profiler param is not nil