```ruby
class Array
  def find_property(property, value)
    find { |e| e[property.to_s] && e[property.to_s] == value }
  end
end```

Fix the find_property patch to work for objects and not just hashes
user
```ruby
class Array
  def find_property(property, value)
    find { |e| e.send(property) == value }
  end
end```
assistant