Selecting Indian States in Rails

Ruby on Rails Blog

Just last week I coded a miracle Rails app. I say miracle because there was no client pressure. I had never seen like it. Though it was my friend, a client is a client, he must be stupid. Ones who are not, are not clients. Finishing ecommerce application less than a week made no sense to me, and I did it. That’s stupid.

Okay there was stage when I had to put a select box for selecting Indian states. I searched and found this excellent gem called carmen. I included it in gem file and I was able to put a select box for Indian states using this code

Well, the above code is in haml. However newly formed Telengana hasn’t reflected yet.

View original post