From 07d390db0937c94ac6b582d14e9a6f9066596ad1 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 13 Jul 2017 11:23:52 +0200 Subject: [PATCH] Remove comments that were wrong Having a foo_at column automatically generates the #foo_at? method, not the #foo? method --- app/models/procedure.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/procedure.rb b/app/models/procedure.rb index 12df4a351..72104b801 100644 --- a/app/models/procedure.rb +++ b/app/models/procedure.rb @@ -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