Getting a random record with ember data


#1

Hi, I’ve stored a collection of records in a firebase database. I’ve connected the firebase database to my ember app using emberfire. I 'd like to get just one random record from the collection every time I push a button. In my controller is there a specific method that I can use for this action? Something like 'this.store.random…??" How would you solve this issue? Thanks Sandro