Question: If User is an ActiveRecord class, which choice would be expected to return an array?

  1. User.where(last_name: 'Smith')
  2. User.find_or_create(last_name: 'Smith')
  3. User.find_by_last_name('Smith')
  4. User.find('Smith')

Answer: The correct answer of the above question is Option A:User.where(last_name: 'Smith')