We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9b78b1 commit 59d8f86Copy full SHA for 59d8f86
test/dummy/app/models/fields/options/integer_field.rb
@@ -6,6 +6,7 @@ class IntegerField < FieldOptions
6
7
validates :step,
8
numericality: {
9
+ only_integer: true,
10
greater_than_or_equal_to: 0
11
}
12
end
0 commit comments