@ohadlevy, #max is on an enumerable object.  A quick test in console showed that 
```ruby
Report.maximum(:id)
```
is much faster than
```ruby
Report.pluck(:id).max
```