rails g migration AddParentIdToTag
rails g migration CreateTagHierarchies
add acts_as_tree to Gemfile
add acts_as_tree to Tag model
add pry-rails to Gemfile