Kladr API is free service for retrieving address details (cities, streets and etc) for Russian regions
See the Kladr home page for more information and examples.
Add this line to your application's Gemfile:
gem 'kladr-rails'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kladr-rails
Require kladr
in your app/assets/javascripts/application.js
file:
//= require kladr
Add the following to your app/assets/stylesheets/application.css file:
*= require kladr
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request