README.md in unidom-sequence-0.2.1 vs README.md in unidom-sequence-0.2.2
- old
+ new
@@ -1,11 +1,14 @@
# Unidom Sequence 序列领域模型引擎
+[](http://www.rubydoc.info/gems/unidom-sequence/frames)
[](http://opensource.org/licenses/MIT)
+
[](https://badge.fury.io/rb/unidom-sequence)
[](https://gemnasium.com/github.com/topbitdu/unidom-sequence)
+
Unidom (UNIfied Domain Object Model) is a series of domain model engines. The Sequence domain model engine includes the Sequence model and its relative models.
Unidom (统一领域对象模型)是一系列的领域模型引擎。序列领域模型引擎包括序列和与其相关的模型。
@@ -36,6 +39,22 @@
## Call the Model
```ruby
serial_number_1 = Unidom::Sequence::Sequence.generate! 'FLNO', '12345620170101' # 1
serial_number_2 = Unidom::Sequence::Sequence.generate! 'FLNO', '12345620170101' # 2
+```
+
+
+
+## Disable the Model & Migration
+
+If you only need the app components other than models, the migrations should be neglected, and the models should not be loaded.
+```ruby
+# config/initializers/unidom.rb
+Unidom::Common.configure do |options|
+
+ options[:neglected_namespaces] = %w{
+ Unidom::Sequence
+ }
+
+end
```