comment out the 'retrieve all' method to fix the problem threw by 'ransack' (this method returns a hash)