<commit_before>#In order Rails knows how to t=connect to your OpenERP server, you should create a file APPLICATION_ROOT/config/ooor.yml
#with the following pattern customized with your OpenERP server URL, your target OpenERP database, your login and password.

development:
  url: http://localhost:8069/xmlrpc         #the OpenERP XML/RPC server
  database: database_name                #the OpenERP database you want to connect to
  username: admin
  password: <PASSWORD>
  #comment the following line if you want to load ALL the available models (slower startup), or complete it with all the OpenERP models you want to be loaded
  models: [res.partner, product.template, product.product, product.category, sale.order, sale.order.line, account.invoice]
  bootstrap: true   #true if you want to load OpenObject models (will hit OpenERP server) at startup; else use Ooor.reload!(lambda {}) to reload the Ooor models at any time
  #log_level: 0
  #global_context:
    #'lang': en_US

test:
  url: http://localhost:8069/xmlrpc
  database: database_name
  username: admin
  password: <PASSWORD>
  models: [res.partner, product.template, product.product, product.category, sale.order, sale.order.line, account.invoice]
  bootstrap: true

production:
  url: http://localhost:8069/xmlrpc
  database: database_name
  username: admin
  password: <PASSWORD>
  models: [res.partner, product.template, product.product, product.category, sale.order, sale.order.line, account.invoice]
  bootstrap: true<commit_msg>changed comment: loading all OpenERP models doesn't mean slower startup anymore<commit_after>#In order Rails knows how to t=connect to your OpenERP server, you should create a file APPLICATION_ROOT/config/ooor.yml
#with the following pattern customized with your OpenERP server URL, your target OpenERP database, your login and password.

development:
  url: http://localhost:8069/xmlrpc         #the OpenERP XML/RPC server
  database: database_name                #the OpenERP database you want to connect to
  username: admin
  password: <PASSWORD>
  #models: [res.partner, product.template, product.product, product.category, sale.order, sale.order.line, account.invoice] #you can allow only some models if you like
  bootstrap: true   #true if you want to load OpenObject models (will hit OpenERP server) at startup; else use Ooor.reload!(lambda {}) to reload the Ooor models at any time
  #log_level: 0
  #global_context:
    #'lang': en_US

test:
  url: http://localhost:8069/xmlrpc
  database: database_name
  username: admin
  password: <PASSWORD>
  bootstrap: true

production:
  url: http://localhost:8069/xmlrpc
  database: database_name
  username: admin
  password: <PASSWORD>
  bootstrap: true
{'fraction_non_alphanumeric': 0.08200960472848172, 'fraction_numerical': 0.009604728481714075, 'mean_word_length': 4.373015873015873, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5114327', 'n_tokens_mistral': 805, 'n_tokens_neox': 769, 'n_words': 298}