class Array
  def find_property(property, value)
    find { |e| e[property.to_s] && e[property.to_s] == value }
  end
end
class Array
  def find_property(property, value)
    find { |e| e.send(property) == value }
  end
end
Fix the find_property patch to work for objects and not just hashes
Fix the find_property patch to work for objects and not just hashes
