From 2537923034163a3a99810bde11cdee95339d60b5 Mon Sep 17 00:00:00 2001 From: Pete Higgins Date: Thu, 23 Feb 2012 00:09:09 -0800 Subject: Remove functionality provided by rails. --- app/models/refinery/blog/post.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'app/models/refinery') diff --git a/app/models/refinery/blog/post.rb b/app/models/refinery/blog/post.rb index a4507ed..81d2f54 100644 --- a/app/models/refinery/blog/post.rb +++ b/app/models/refinery/blog/post.rb @@ -52,12 +52,6 @@ module Refinery !draft and published_at <= Time.now end - def category_ids=(ids) - self.categories = ids.reject{|id| id.blank?}.collect {|c_id| - Refinery::Blog::Category.find(c_id.to_i) rescue nil - }.compact - end - def friendly_id_source custom_url.present? ? custom_url : title end -- cgit v1.2.3