Open rbclark opened 9 years ago
So I've added the gem to the project in a21b19a it kind of works. Need to be careful what order the game is imported in. Also need to be aware of complex relationships such as import flags for a game that has solved challenges. Works very well for simple things such as flags at the beginning of a game, messages, SSH keys, etc.
Does this gem give us any control over things like denying import if specific models are populated or is it just kind of a free for all?
You can write hooks to check for these specific cases when you important a model
We may need to look into something like that before including this then, since there has been more use by outside parties of our scoreboard.
Would recommend retesting this with current ruby, rails, and gem versions.
This is really no longer needed, it may be nice but it is a much lower priority now that we have one scoreboard that shares everything.
Currently there is no easy way to export the data from one scoreboard instance and import it into another. If we are going to continue spinning up 2 different scoreboards for college and hs students then this needs to be added.
Probably something like https://github.com/stephskardal/rails_admin_import will work nicely for this.