I want to have a country field in my User model and i want it to be a selection list instead of free text input. So i plan to have a countries table which contains all the possible options as of the ISO 3166 country list. Continue reading Rails – Preset Data in Database by Seed Fu→
Implementation of Geocoder on Model is simple and straight forward. What we need is just adding two more columns on the Model table for storing the coordinates(Latitude & Longitude) and one column for storing the address. Continue reading Rails – Implementation of Geocoder on Model→
Geocoder is a Rails Gem which helps you to manipulate location in your Rails application. It is written by Alex Reisner. Thanks for his work and you can find out more details at Github – alexreisner / geocoder.