I am trying to use 

```
options_from_collection_for_select(collection, value_method, text_method, selected = nil)

```

But I am unable to pass proper parameter to it. What should be type on `collection` element? (Sample for complete usage will be helpful)

I have to use it with format like `Name=AL` and `ID=23`, like it is State name and it Code.

So for using how should I provide the collection object to it.

I have tried with `Hash`, `Map` and `Array`