Dipil Saud
Results
2
comments of
Dipil Saud
@johnhutch I think you can use `Unit.defined?("unitname")` for this purpose. Edit: `Unit.defined?` does not recognize prefixes so it won't work for those cases e.g. `Unit.defined?('cm')` is `false` but `Unit.new('cm')` will...
As setting @setup_for_rocket_tag disabled the before_save callbacks, it wasn't automatically saving the tags when the parent is saved. So, hacked it by clearing the set default scopes. Just need to...