rails config and nxhtml changes