app/models/okei/unit.rb in okei-1.0.1 vs app/models/okei/unit.rb in okei-1.0.2
- old
+ new
@@ -23,12 +23,11 @@
#
# @example
# unit = Unit.new(
# name: "Километры в час", code: "КМ/Ч", num: "007", int_code: "KMH",
# base: "М/С", factor: 0.28, measure: "СКОРОСТЬ"
+ # uuid: "9ac7e74a-d51a-424c-8fcd-71b0b55f6658"
# )
- # # this can be skipped:
- # unit.uuids.new value: "9ac7e74a-d51a-424c-8fcd-71b0b55f6658"
#
class Unit < ActiveRecord::Base
include Uuids::Base
# Format of OKEI numeric codes (three digits).