Skip to content

Commit 59d8f86

Browse files
committed
dummy: small tune
1 parent e9b78b1 commit 59d8f86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/dummy/app/models/fields/options/integer_field.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class IntegerField < FieldOptions
66

77
validates :step,
88
numericality: {
9+
only_integer: true,
910
greater_than_or_equal_to: 0
1011
}
1112
end

0 commit comments

Comments
 (0)