anchor.diff:  
               Adapter = lists:foldl(fun
                       (A, false) ->
  -                        case A:accept(AppInfo#boss_app_info.application, Controller, 
  +                        case A:accept(AppInfo#boss_app_info.application, Controller,
                                   AppInfo#boss_app_info.controller_modules) of
                               true -> A;
                               _ -> false
  
positive.code:     LoadResult = lists:foldl(fun
              (Ext, {error, not_found}) ->
                  ViewPath = boss_files:web_view_path(Controller, Template, Ext),
                  boss_load:load_view_if_dev(AppInfo#boss_app_info.application, 
                      ViewPath, AppInfo#boss_app_info.view_modules,
                      AppInfo#boss_app_info.translator_pid);
              (_, Acc) -> 
                  Acc
          end, {error, not_found}, TryExtensions),
      BossFlash = boss_flash:get_and_clear(SessionID),
  
negative.code: 
      Env = boss_env:setup_boss_env(),
      error_logger:info_msg("Starting Boss in ~p mode....~n", [Env]),
  
      DBOptions = lists:foldl(fun(OptName, Acc) ->
                  case application:get_env(OptName) of
                      {ok, Val} -> [{OptName, Val}|Acc];
                      _ -> Acc
                  end
          end, [], [db_port, db_host, db_username, db_password, db_database,
                    db_replication_set, db_read_mode, db_write_mode, db_write_host, db_write_host_port,
                    db_read_capacity, db_write_capacity, db_model_read_capacity, db_model_write_capacity]),
      DBAdapter = boss_env:get_env(db_adapter, mock),
      DBShards = boss_env:get_env(db_shards, []),
      CacheEnable = boss_env:get_env(cache_enable, false),
      IsMasterNode = boss_env:is_master_node(),
      DBCacheEnable = boss_env:get_env(db_cache_enable, false) andalso CacheEnable,
      DBOptions1 = [{adapter, DBAdapter}, {cache_enable, DBCacheEnable},
          {shards, DBShards}, {is_master_node, IsMasterNode}|DBOptions],
  
      boss_db:start(DBOptions1),
  
      case CacheEnable of
          false -> ok;
          true ->
              CacheAdapter = boss_env:get_env(cache_adapter, memcached_bin),
              CacheOptions = [{adapter, CacheAdapter},
                              {cache_servers, boss_env:get_env(cache_servers, [{"127.0.0.1", 11211, 1}])}],
  