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 0a89435 commit 3cc1248Copy full SHA for 3cc1248
app/models/item.rb
@@ -0,0 +1,9 @@
1
+# frozen_string_literal: true
2
+
3
+class Item
4
+ include ActiveModel::Model
5
6
+ attr_accessor :expire_date
7
8
+ validates_date :expire_date
9
+end
0 commit comments