Starting categories

This commit is contained in:
Will Bradley 2014-03-11 12:03:51 -07:00
parent ce3e947b83
commit 5f564bdbff

View File

@ -10,8 +10,8 @@ module WordPressImport
name == other.name name == other.name
end end
def to_refinery def to_rails
BlogCategory.find_or_create_by_title(name) Tag.find_or_create_by_title(name)
end end
end end
end end