<commit_before># Rails mongoid.yml

This [wercker step](http://devcenter.wercker.com/docs/steps) generates a `config/mongoid.yml` for [mongoid](http://mongoid.org).

## Example

```yml
box: ruby
services:
  - mongo
build:
  steps:
    - rails-mongoid-yml:
        db_name: my_app_test
```

## Options

- `db_name` (optinal, default: `mongoid`)
  This option is not required. If set, it will set the database accordingly.

## Details

You should use this along with the mongo service.
Have a look at the [services documentation](http://devcenter.wercker.com/docs/services) for more information.<commit_msg>adding badge to readme<commit_after># Rails mongoid.yml

This [wercker step](http://devcenter.wercker.com/docs/steps) generates a `config/mongoid.yml` for [mongoid](http://mongoid.org).

[![wercker status](https://app.wercker.com/status/0f970597f3b22cab6008a3ab598114e3/s/master "wercker status")](https://app.wercker.com/project/bykey/0f970597f3b22cab6008a3ab598114e3)

## Example

```yml
box: ruby
services:
  - mongo
build:
  steps:
    - rails-mongoid-yml:
        db_name: my_app_test
```

## Options

- `db_name`
  (optinal, default: `mongoid`)
  This option is not required. If set, it will name the database accordingly.

## Details

You should use this along with the mongo service.
Have a look at the [services documentation](http://devcenter.wercker.com/docs/services) for more information.
{'fraction_non_alphanumeric': 0.12802275960170698, 'fraction_numerical': 0.031294452347083924, 'mean_word_length': 4.329545454545454, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '5946361', 'n_tokens_mistral': 515, 'n_tokens_neox': 475, 'n_words': 126}