app/models/marty/grid_index_boolean.rb in marty-1.0.0 vs app/models/marty/grid_index_boolean.rb in marty-1.0.1
- old
+ new
@@ -1,4 +1,4 @@
class Marty::GridIndexBoolean < Marty::Base
validates_presence_of :created_dt, :data_grid_id, :attr, :index
- validates_inclusion_of :key, in: [true, false]
+ validates_inclusion_of :key, in: [true, false, nil]
end