You don't need to use a local variable here.  This is equivalent to just saying:

    def viewable_by? user
        self.user.consumers.include? current_user or self.user == current_user
     end