<commit_before># Hound

[![Build Status](https://travis-ci.org/injekt/hound.png?branch=master)](https://travis-ci.org/injekt/hound)

## Installation

Add Hound to your `Gemfile` and run `bundle install`:

```ruby
gem 'hound'
```

Hound expects a `hound_actions` table to exist in your schema, go ahead
and run the generator provided:

```
rails generate hound:install<commit_msg>add a better description in readme<commit_after># Hound

[![Build Status](https://travis-ci.org/injekt/hound.png?branch=master)](https://travis-ci.org/injekt/hound)

Hound is designed to track activity on models. It'll track your usual
`create` `update` and `destroy` actions as well as custom activity.

At [Allur](https://www.allur.com) or more specifically the
[Spark CRM](http://allurspark.com) we've built, we use Hound for implementing
activity tabs on our popular models. These activity tabs display
the last x amount of actions taken out upon these models. We have a lot
of custom associations so we can't simply track the `update` to models.
With Hound we can build custom actions on the fly.

If you need something similar, Hound could be a good fit.

## Installation

Add Hound to your `Gemfile` and run `bundle install`:

```ruby
gem 'hound'
```

Hound expects a `hound_actions` table to exist in your schema, go ahead
and run the generator provided:

```
rails generate hound:install
{'fraction_non_alphanumeric': 0.104, 'fraction_numerical': 0.0, 'mean_word_length': 4.880341880341881, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 1, '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': '6104112', 'n_tokens_mistral': 436, 'n_tokens_neox': 422, 'n_words': 173}