<commit_before># Shrine::Plugins::Reform

Provides [Reform] integration for [Shrine].

## Installation

```ruby
gem "shrine-reform"
gem "shrine", github: "janko-m/shrine"
```

## Usage

The reform plugin can be loaded globally alongside activerecord plugin.

```rb
Shrine.plugin :activerecord
Shrine.plugin :reform
```
```rb
class Post < ActiveRecord::Base
  include ImageUploader[:image]
end
```
```rb
class PostForm < Reform::Form
  include ImageUploader[:image]
end
```

## License

[MIT](LICENSE.txt)

[Reform]: https://github.com/apotonick/reform
[Shrine]: https://github.com/janko-m/shrine<commit_msg>Add section for running tests<commit_after># Shrine::Plugins::Reform

Provides [Reform] integration for [Shrine].

## Installation

```ruby
gem "shrine-reform"
gem "shrine", github: "janko-m/shrine"
```

## Usage

The reform plugin can be loaded globally alongside activerecord plugin.

```rb
Shrine.plugin :activerecord
Shrine.plugin :reform
```
```rb
class Post < ActiveRecord::Base
  include ImageUploader[:image]
end
```
```rb
class PostForm < Reform::Form
  include ImageUploader[:image]
end
```

## Contributing

You can run tests with the Rake task:

```
$ bundle exec rake test
```

## License

[MIT](LICENSE.txt)

[Reform]: https://github.com/apotonick/reform
[Shrine]: https://github.com/janko-m/shrine
{'fraction_non_alphanumeric': 0.1516300227445034, 'fraction_numerical': 0.0, 'mean_word_length': 5.3768115942028984, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1608760', 'n_tokens_mistral': 502, 'n_tokens_neox': 448, 'n_words': 118}