From 5f564bdbff82ee1afe6534f75ee5623a5c156ff4 Mon Sep 17 00:00:00 2001 From: Will Bradley Date: Tue, 11 Mar 2014 12:03:51 -0700 Subject: [PATCH] Starting categories --- lib/wordpress/category.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wordpress/category.rb b/lib/wordpress/category.rb index b43e928..b365dcb 100644 --- a/lib/wordpress/category.rb +++ b/lib/wordpress/category.rb @@ -10,8 +10,8 @@ module WordPressImport name == other.name end - def to_refinery - BlogCategory.find_or_create_by_title(name) + def to_rails + Tag.find_or_create_by_title(name) end end end