Skip to content

Commit 7528c4b

Browse files
committed
oops
1 parent af15745 commit 7528c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/request.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Request < ApplicationRecord
3030
accepts_nested_attributes_for :item_requests, allow_destroy: true, reject_if: proc { |attributes| attributes["quantity"].blank? }
3131
has_many :child_item_requests, through: :item_requests
3232

33-
enum :status, { pending: 0, started: 1, fulfilled: 2, discarded: 3 }, _prefix: true
33+
enum :status, { pending: 0, started: 1, fulfilled: 2, discarded: 3 }, prefix: true
3434

3535
validates :distribution_id, uniqueness: true, allow_nil: true
3636
validate :item_requests_uniqueness_by_item_id

0 commit comments

Comments
 (0)