Working with hashes in AR style