Glad you're checking if @movies == nil. It's probably cleaner here, but it's also useful to notify the user as well by putting errors messages in the view.