so, instead of using "index", in ruby you have the "find" method, and then update it in place.

```ruby
  Vehicle.all_vehicles.find{|v| v.name == name}.update(args)
```ruby

Example usage: http://rubyfiddle.com/riddles/37f83