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:
parent
c43f3fa415
commit
07d390db09
1 changed files with 0 additions and 2 deletions
|
@ -125,7 +125,6 @@ class Procedure < ActiveRecord::Base
|
|||
ProcedurePath.create!(path: path, procedure: self, administrateur: self.administrateur)
|
||||
end
|
||||
|
||||
# FIXME: remove once the published colummn has been deleted
|
||||
def published?
|
||||
published_at.present?
|
||||
end
|
||||
|
@ -134,7 +133,6 @@ class Procedure < ActiveRecord::Base
|
|||
self.update_attributes!(archived_at: Time.now)
|
||||
end
|
||||
|
||||
# FIXME: remove once the archived colummn has been deleted
|
||||
def archived?
|
||||
archived_at.present?
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue