Remove comments that were wrong

Having a foo_at column automatically generates the
#foo_at? method, not the #foo? method
This commit is contained in:
gregoirenovel 2017-07-13 11:23:52 +02:00
parent c43f3fa415
commit 07d390db09

View file

@ -125,7 +125,6 @@ class Procedure < ActiveRecord::Base
ProcedurePath.create!(path: path, procedure: self, administrateur: self.administrateur) ProcedurePath.create!(path: path, procedure: self, administrateur: self.administrateur)
end end
# FIXME: remove once the published colummn has been deleted
def published? def published?
published_at.present? published_at.present?
end end
@ -134,7 +133,6 @@ class Procedure < ActiveRecord::Base
self.update_attributes!(archived_at: Time.now) self.update_attributes!(archived_at: Time.now)
end end
# FIXME: remove once the archived colummn has been deleted
def archived? def archived?
archived_at.present? archived_at.present?
end end