I have the following Hash
my_hash = {city: {id:1, created_at: '', name: 'test_city'},
uf: {id:1, created_at: '', name: 'test_uf'}}
I need to extract some data from it eg:
my_hash.extract!({city: [:id, :name], uf: [:id, :name...
asked by
29.04.2015 / 14:02