Drastic change in understanding return values from sinatra methods