Updates to latest rails plugin (rails3 deprecated)