lib/tasuku/concerns/verifiable.rb in tasuku-1.0.1 vs lib/tasuku/concerns/verifiable.rb in tasuku-1.1.0
- old
+ new
@@ -1,8 +1,7 @@
module Tasuku::Concerns::Verifiable
extend ActiveSupport::Concern
- # TODO: check
included do
has_one :verification, as: :verifiable, class_name: '::Tasks::Taskables::Verification', dependent: :destroy
has_one :task, through: :verification, class_name: '::Tasks::Task'
has_many :confirmations, through: :verification, class_name: '::Tasks::Taskables::Verification::Confirmation'
end