benchmarks/common.rb in ohm-2.3.0 vs benchmarks/common.rb in ohm-3.0.0
- old
+ new
@@ -8,14 +8,9 @@
attribute :name
attribute :location
index :name
index :location
-
- def validate
- assert_present :name
- assert_present :location
- end
end
class Sequence
def initialize
@value = 0