README.md in unidom-common-0.6 vs README.md in unidom-common-0.7

- old
+ new

@@ -4,10 +4,14 @@ [![Gem Version](https://badge.fury.io/rb/unidom-common.svg)](https://badge.fury.io/rb/unidom-common) Unidom (UNIfied Domain Object Model) is a series of domain model engines. The Common domain model engine includes the common 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-common' ``` @@ -26,11 +30,12 @@ ```ruby class Project < ActiveRecord::Base include Unidom::Common::Concerns::ModelExtension - validates :name, presence: true, length: { in: 2..200 } + validates :name, presence: true, length: { in: 2..200 } + validates :audition_state, presence: true, length: { is: 1 } belongs_to :customer belongs_to :team # other fields: code, description @@ -42,9 +47,10 @@ Project.included_by([ id_1, id_2 ]).excluded_by id_3 Project.created_after('2015-01-01 00:00:00') Project.created_not_after('2015-01-01 00:00:00') Project.created_before('2015-01-01 00:00:00') Project.created_not_before('2015-01-01 00:00:00') +Project.audition_transited_to('A').transited_to('C') ``` ## No-SQL Columns ```ruby class Project < ActiveRecord::Base