rails: root with params