<commit_before>find_by_shortcut
================

A module for faster Active Record queries in the ruby console.

Allows for quick 'find_by_' calls on classes that inherit from ActiveRecord::Base.

Instead of typing "find_by_attribute()" after a Class name, you can type "fb" followed by 
the first character(s) of the attribute you want to search by. If multiple attributes
begin with those the characters following fb, the first will be selected. Do not add any
spaces or underscores after "fb".


EXAMPLE:

If User inherits from ActiveRecord::Base, and has the following attributes: "id", "username",
and "email", you can use find_by_shortcut as follows:

User.fbi 1
- equivalent of User.find_by_id(1)


User.fbu "OkinawaSteel"
- equivalent of User.find_by_username("OkinawaSteel")


User.fbe "<EMAIL>"

User.fbem "<EMAIL>"

User.fbemail "<EMAIL>"<commit_msg>changed README to include User.f for ID<commit_after>find_by_shortcut
================

A module for faster Active Record queries in the ruby console.

Allows for quick 'find_by_' calls on classes that inherit from ActiveRecord::Base.

Instead of typing "find_by_attribute()" after a Class name, you can type "fb" followed by 
the first character(s) of the attribute you want to search by. If multiple attributes
begin with those the characters following fb, the first will be selected. Do not add any
spaces or underscores after "fb".


EXAMPLE:

If User inherits from ActiveRecord::Base, and has the following attributes: "id", "username",
and "email", you can use find_by_shortcut as follows:

User.f 1
- equivalent of User.find(1)


User.fbu "OkinawaSteel"
- equivalent of User.find_by_username("OkinawaSteel")


User.fbe "<EMAIL>"

User.fbem "<EMAIL>"

User.fbemail "<EMAIL>"
{'fraction_non_alphanumeric': 0.09701492537313433, 'fraction_numerical': 0.002296211251435132, 'mean_word_length': 5.094405594405594, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4451605', 'n_tokens_mistral': 535, 'n_tokens_neox': 512, 'n_words': 223}