# File lib/dm-sqlite-adapter/adapter.rb, line 19
      def normalize_options(options)
        # TODO Once do_sqlite3 accepts both a Pathname or a String,
        # normalizing database and path won't be necessary anymore
        # Clean out all the 'path-like' parameters in the options hash
        # ensuring there can only be one.
        # Also make sure a blank value can't possibly mask a non-blank one
        path = nil
        [:path, 'path', :database, 'database'].each do |key|
          db = options.delete(key)
          unless db.nil?
            normalized_db = db.to_s # no Symbol#empty? on 1.8.7(ish) rubies
            path ||= normalized_db unless normalized_db.empty?
          end
        end

        options.update(:adapter => 'sqlite3', :path => path)
      end