Skip to content

Commit

Permalink
Update moved file
Browse files Browse the repository at this point in the history
  • Loading branch information
ErinClaudio committed Jul 2, 2024
1 parent 73e6376 commit dfb6d0c
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,9 @@
#
# fk_rails_... (organization_id => organizations.id)
#
module Checklist
class TaskTemplate < ApplicationRecord
acts_as_tenant(:organization)
class TaskTemplate < ApplicationRecord
acts_as_tenant(:organization)

validates :name, presence: true
validates_numericality_of :due_in_days, only_integer: true, greater_than_or_equal_to: 0, allow_nil: true
end
validates :name, presence: true
validates_numericality_of :due_in_days, only_integer: true, greater_than_or_equal_to: 0, allow_nil: true
end

0 comments on commit dfb6d0c

Please sign in to comment.