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)
|
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
|
||||||
|
|
Loading…
Reference in a new issue