If you reorder these methods, you can handle the uniqueness at the database level instead of in ruby.

```ruby
tokens = Device.uniq.pluck :push_token
```