<commit_before>ActsAsScribe
============
A simple plugin that allows to keep history records of the users activities. Common uses could be user's wall, public timeline portlets, etc...

> Scribe (From Wikipedia, the free encyclopedia):
"A scribe was traditionally a person who could read and write. This usually indicated secretarial and administrative duties such as dictation and keeping business, judicial, and history records for kings, nobles, temples, and cities."

Resources
=========

Install
-------
 
 * Run the following command:
 
 `script/plugin install git://github.com/linkingpaths/acts_as_scribe.git`
 
 * Generate the tables via the given generator:

 `script/generate acts_as_scribe_migration`
 
 * And finally...
 
 `rake db:migrate`
 
Usage
-----
 
 * Make your ActiveRecord model acts as scribe.
<pre>
  class Comment < ActiveRecord::Base    
    record_activity_of :user
  end
</pre>
 


More
-------

[http://github.com/linkingpaths/acts\_as\_scribe](http://github.com/linkingpaths/acts_as_scribe)

[http://github.com/linkingpaths/acts\_as\_scribe/wikis](http://github.com/linkingpaths/acts_as_scribe/wikis)


Copyright (c) 2008 Linking Paths, released under the MIT license<commit_msg>Added record_activities example on the readme<commit_after>ActsAsScribe
============
A simple plugin that allows to keep history records of the users activities. Common uses could be user's wall, public timeline portlets, etc...

> Scribe (From Wikipedia, the free encyclopedia):
"A scribe was traditionally a person who could read and write. This usually indicated secretarial and administrative duties such as dictation and keeping business, judicial, and history records for kings, nobles, temples, and cities."

Resources
=========

Install
-------
 
 * Run the following command:
 
 `script/plugin install git://github.com/linkingpaths/acts_as_scribe.git`
 
 * Generate the tables via the given generator:

 `script/generate acts_as_scribe_migration`
 
 * And finally...
 
 `rake db:migrate`
 
Usage
-----
 
 * Make your ActiveRecord model acts as scribe.
<pre>
  class Comment < ActiveRecord::Base    
    record_activity_of :user
  end
</pre>

 * If you want to record activities not related to any specific model just use `record_activities :activity` in your user model:
<pre>
  class User < ActiveRecord::Base
    record_activities [:featured_on_home, :logged_in, :logged_out]
  end
</pre>
 


More
-------

[http://github.com/linkingpaths/acts\_as\_scribe](http://github.com/linkingpaths/acts_as_scribe)

[http://github.com/linkingpaths/acts\_as\_scribe/wikis](http://github.com/linkingpaths/acts_as_scribe/wikis)


Copyright (c) 2008 Linking Paths, released under the MIT license
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.002962962962962963, 'mean_word_length': 4.224371373307544, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 11, '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': '2305021', 'n_tokens_mistral': 807, 'n_tokens_neox': 737, 'n_words': 264}