<commit_before>= attr_symbol

Allows certain attributes in ActiveRecord models to be handled as symbols.  These attributes are
stored in string columns in the underlying data store.

== Usage

    class Thing < ActiveRecord::Base
      attr_symbol :a
    end

    # Stores the string 'foo' in the field 'a'
    thing = Thing.create!(:a => :foo)

    thing = Thing.find(1)
    thing.a  ### Returns :foo

    thing.a = 'urk'
    thing.a  ### Returns :urk

== Copyright

Copyright (c) 2011 <NAME>. See LICENSE for details.
<commit_msg>Readme update to reflect new features<commit_after>= attr_symbol

Allows certain attributes in ActiveRecord models to be handled as symbols.  These attributes are
stored in string columns in the underlying data store.

== Usage

    class Thing < ActiveRecord::Base
      attr_symbol :a
    end

    # Stores the string 'foo' in the field 'a'
    thing = Thing.create!(:a => :foo)

    thing = Thing.find(1)
    thing.a  ### Returns :foo

    thing.a = 'urk'
    thing.a  ### Returns :urk

If any of the attributes passed to #attr_symbol are not database columns of type string, an
ArgumentError exception will be raised.

== Copyright

Copyright (c) 2011 <NAME>. See LICENSE for details.

{'fraction_non_alphanumeric': 0.08763308763308764, 'fraction_numerical': 0.00819000819000819, 'mean_word_length': 3.2283737024221453, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '6217708', 'n_tokens_mistral': 375, 'n_tokens_neox': 348, 'n_words': 150}