# Unidom Geo 地理领域模型引擎 [![License](https://img.shields.io/badge/license-MIT-green.svg)](http://opensource.org/licenses/MIT) [![Gem Version](https://badge.fury.io/rb/unidom-geo.svg)](https://badge.fury.io/rb/unidom-geo) Unidom (UNIfied Domain Object Model) is a series of domain model engines. The Geo domain model engine includes Town and Location models. Unidom (统一领域对象模型)是一系列的领域模型引擎。地理领域模型引擎包括乡镇和街道地址的模型。 ## Recent Update Check out the [Road Map](ROADMAP.md) to find out what's the next. Check out the [Change Log](CHANGELOG.md) to find out what's new. ## Usage in Gemfile: ```ruby gem 'unidom-geo' ``` ## Run the Database Migration: ```shell rake db:migrate ``` The migration versions start with 200104. ## Call the Model: ```ruby Unidom::Geo::Location.valid_at.alive.first.region active_locatings = location.locatings.valid_at.alive Unidom::Geo::Locating.locate! location, shop ```