[RAILS] Fixed an error when no suggestions are returned in the `03-expert` example application

Correct fix for 6b7e220