Modified: branches/component-api/app/models/workflow.rb (3587 => 3588)
--- branches/component-api/app/models/workflow.rb 2013-07-03 08:25:48 UTC (rev 3587)
+++ branches/component-api/app/models/workflow.rb 2013-07-03 08:34:07 UTC (rev 3588)
@@ -428,8 +428,6 @@
# TODO: Don't use tags for this
named_scope :components, :include => :tags, :conditions => "tags.name = 'component'"
- named_scope :recent, lambda { |date| { :conditions => ["created_at > ?",date] } }
-
def component?
tags.any? { |t| t.name == 'component' }
end