Ganarate Random Ruby values : I want to generate random name using Ruby code. I tested this Ruby code:

    def random_card_holder
      Faker::Name.first_name + " " + Faker::Name.last_name
    end

But I get validation error. Is this code valid?