@GregSutcliffe yes, though you don't want to wrap the entire block in the rescue or it'll hide true errors.  Perhaps do:

    begin
      Setting.first
    rescue
    else
      Setting.descendants ....
    end

It will then run (as default settings loader currently) does on the first post-DB creation run.