<commit_before>Project planning hosted on Pivotal Tracker:

<a href="http://www.pivotaltracker.com/projects/27482">Mongoloid on Pivotal Tracker</a>

Initialize Mongoloid:

In a Rails initializer:

<pre>
  Mongoloid.connect_to("myapp_database_name")
</pre>

Specifying a Model as a Document in MongoDB:

<pre>
  class Person < Mongoloid::Document
    collection_name :people
    fields \
      :first_name,
      :middle_name,
      :last_name
  end
</pre><commit_msg>Updating README for associations<commit_after>Project planning hosted on Pivotal Tracker:

<a href="http://www.pivotaltracker.com/projects/27482">Mongoloid on Pivotal Tracker</a>

Initialize Mongoloid:

In a Rails initializer:

<pre>
  Mongoloid.connect_to("myapp_database_name")
</pre>

Specifying a Model as a Document in MongoDB:

<pre>
  class Person < Mongoloid::Document
    collection_name :people

    fields \
      :first_name,
      :middle_name,
      :last_name

    has_many :addresses
    has_one :email
  end
</pre>
{'fraction_non_alphanumeric': 0.09619238476953908, 'fraction_numerical': 0.01002004008016032, 'mean_word_length': 4.045454545454546, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6090037', 'n_tokens_mistral': 354, 'n_tokens_neox': 345, 'n_words': 86}