<commit_before># Opal: ActiveRecord

## Installation

Add this line to your application's Gemfile:

    gem 'opal-actionpack'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install opal-actionpack


## Usage

Inside your `application.js.rb`:

```ruby
require 'action_pack'                 # to require the whole action pack lib
```


## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)<commit_msg>updated read me about testing<commit_after># Opal: ActiveRecord

## Installation

Add this line to your application's Gemfile:

    gem 'opal-actionpack'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install opal-actionpack


## Usage

Inside your `application.js.rb`:

```ruby
require 'action_pack'                 # to require the whole action pack lib
```

## Testing

There are two ways to run tests. You can run them inside of MRI
for ease of testing and better debuggability or you can run them
using Opal (as this is how it will actually be used).

* To run in Opal do - rake
* To run in MRI do - rspec spec


## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
{'fraction_non_alphanumeric': 0.08636363636363636, 'fraction_numerical': 0.004545454545454545, 'mean_word_length': 3.261290322580645, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1388901', 'n_tokens_mistral': 418, 'n_tokens_neox': 384, 'n_words': 178}