Skip to content
Snippets Groups Projects
Commit 9ef4257c authored by Arnaud Levy's avatar Arnaud Levy
Browse files

kind

parent 8f49961c
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,7 @@ class BlocksMigration
def self.cleanup_item(item)
return if item.text.blank?
return if item.blocks.any?
puts "#{item.university}, #{item.website}, #{item.id}, #{item}"
# puts " migrating"
puts "#{item.university}, #{item.website}, #{item.class.to_s.demodulize}, #{item.id}, #{item}"
# puts item.text.to_html
return
block = item.blocks.create university: item.university, template_kind: :chapter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment