<commit_before># RailsAdmin [![Build Status](https://secure.travis-ci.org/sferik/rails_admin.png?branch=master)][travis] [![Dependency Status](https://gemnasium.com/sferik/rails_admin.png?travis)][gemnasium] [![Click here to lend your support to: RailsAdmin and make a donation at www.pledgie.com !](https://www.pledgie.com/campaigns/15917.png?skin_name=chrome)][pledgie]
RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data.

[travis]: http://travis-ci.org/sferik/rails_admin
[gemnasium]: https://gemnasium.com/sferik/rails_admin
[pledgie]: http://www.pledgie.com/campaigns/15917

It started as a port of [MerbAdmin][merb-admin] to Rails 3 and was implemented
as a [Ruby Summer of Code project][rubysoc] by [<NAME>][hurrycane] with
mentors [<NAME>][sferik], [<NAME>][wycats], [<NAME>][plukevdh], and [<NAME>][reinh].

[merb-admin]: https://github.com/sferik/merb-admin
[rubysoc]: http://www.rubysoc.org/projects
[hurrycane]: https://github.com/hurrycane
[sferik]: https://github.com/sferik
[wycats]: https://github.com/wycats
[plukevdh]: https://github.com/plukevdh
[reinh]: https://github.com/reinh

## <a name="announcements"></a>Announcements

* Actions

Custom actions are finally there. Default should stay put. To customize them, please have a look at:


[Wiki: actions](https://github.com/sferik/rails_admin/wiki/Actions)<br>
[Documented source code: Base Action class](https://github.com/sferik/rails_admin/blob/master/lib/rails_admin/config/actions/base.rb)


* Translations

Translations have been totally revamped (for custom actions)

Translation keys for actions now look like:

```yaml

en:
  admin:
    actions:
      <action_name>:
        title: "..."
        menu: "..."
        breadcrumb: "..."

```

Other keys may have changed too.

Old outdated translations have been removed, you must now fetch them from the wiki.

See [Wiki](https://github.com/sferik/rails_admin/wiki/Translations) for more informations.

Thanks a lot to all the translators sharing their work, sorry for the added work (it was really needed).

* History

If you wish to continue using the old history feature, please add this to your initializer:

```ruby
config.audit_with :history, User
```

Alternatively, [PaperTrail](https://github.com/airblade/paper_trail) is now officially compatible. 
Install it, add `has_paper_trail` to the models you wish to track, and add the following code to your initializer:

```ruby
config.audit_with :paper_trail, User
```

Change `User` with the class you use with Devise.

By default, there won't be any history shown.

## <a name="features"></a>Features

* Display database tables
* Create new data
* Easily update data
* Safely delete data
* Custom actions
* Automatic form validation
* Search and filtering
* Export data to CSV/JSON/XML
* Authentication (via [Devise](https://github.com/plataformatec/devise))
* Authorization (via [Cancan](https://github.com/ryanb/cancan))
* User action history (internally or via [PaperTrail](https://github.com/airblade/paper_trail))
* Supported ORMs
  * ActiveRecord
<commit_msg>add Mongoid, remove old announcements [ci skip]<commit_after># RailsAdmin [![Build Status](https://secure.travis-ci.org/sferik/rails_admin.png?branch=master)][travis] [![Dependency Status](https://gemnasium.com/sferik/rails_admin.png?travis)][gemnasium] [![Click here to lend your support to: RailsAdmin and make a donation at www.pledgie.com !](https://www.pledgie.com/campaigns/15917.png?skin_name=chrome)][pledgie]
RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data.

[travis]: http://travis-ci.org/sferik/rails_admin
[gemnasium]: https://gemnasium.com/sferik/rails_admin
[pledgie]: http://www.pledgie.com/campaigns/15917

It started as a port of [MerbAdmin][merb-admin] to Rails 3 and was implemented
as a [Ruby Summer of Code project][rubysoc] by [<NAME>][hurrycane] with
mentors [<NAME>][sferik], [<NAME>][wycats], [<NAME>][plukevdh], and [<NAME>][reinh].

[merb-admin]: https://github.com/sferik/merb-admin
[rubysoc]: http://www.rubysoc.org/projects
[hurrycane]: https://github.com/hurrycane
[sferik]: https://github.com/sferik
[wycats]: https://github.com/wycats
[plukevdh]: https://github.com/plukevdh
[reinh]: https://github.com/reinh

## <a name="features"></a>Features

* Display database tables
* Create new data
* Easily update data
* Safely delete data
* Custom actions
* Automatic form validation
* Search and filtering
* Export data to CSV/JSON/XML
* Authentication (via [Devise](https://github.com/plataformatec/devise))
* Authorization (via [Cancan](https://github.com/ryanb/cancan))
* User action history (internally or via [PaperTrail](https://github.com/airblade/paper_trail))
* Supported ORMs
  * ActiveRecord
  * Mongoid [new]

{'fraction_non_alphanumeric': 0.14076553022380256, 'fraction_numerical': 0.004601547793348672, 'mean_word_length': 5.115089514066496, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 30, 'lorem ipsum': 0, 'www.': 8, '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': '3763580', 'n_tokens_mistral': 1679, 'n_tokens_neox': 1582, 'n_words': 423}