drusepth / Indent

Indent is a set of tools for writers, game designers, and roleplayers to create magnificent universes – and everything within them.
http://indentapp.com
1 stars 1 forks source link

Some universe links are incorrect #435

Closed drusepth closed 8 years ago

drusepth commented 9 years ago

There is a sizeable chunk of content pointing at the wrong universes. This is probably a result of the data migration from MongoDB.

2.0.0-p481 :013 > Character.all.select { |c| c.universe.present? && c.universe.user != c.user }.length
 => 22 
2.0.0-p481 :014 > Location.all.select { |l| l.universe.present? && l.universe.user != l.user }.length
 => 11 
2.0.0-p481 :015 > Magic.all.select { |m| m.universe.present? && m.universe.user != m.user }.length
 => 9 
2.0.0-p481 :016 > Equipment.all.select { |e| e.universe.present? && e.universe.user != e.user }.length
 => 3 
2.0.0-p481 :024 > Language.all.select {|l| l.universe.present? && l.universe.user != l.user }.length
 => 1 

This needs to be fixed ASAP, but I'm not sure of the best way to fix it.

Possible solutions:

There may also be other options. I'm not sure of the best course of action yet; if anyone has any comments or suggestions, they'd be awesome to hear.

drusepth commented 8 years ago

Fixed