improved ssrails with param dir name, docs