<commit_before># RailsAdminMongoLoc

Adds to [RailsAdmin](https://github.com/sferik/rails_admin) support for [mongoid localized fields](http://mongoid.org/en/mongoid/docs/documents.html#localized_fields). Based on gem ["localized_fields"](https://github.com/tiagogodinho/localized_fields)


## Installation

In your `Gemfile`add the following dependencies:

    gem 'rails_admin_mongo_loc', :git => 'git://github.com/infernalmaster/rails_admin_mongo_loc'

Run:

    $ bundle install

## Usage

Gem creates two new field types for RailsAdmin: 
* **textml** — localized analog of native text (https://github.com/sferik/rails_admin/wiki/Text)
* **stringml** — localized analog of native string (https://github.com/sferik/rails_admin/wiki/String)

*This fields accept all cofigurations as their native analogs* 

###Fields - overring field type
(more is there https://github.com/sferik/rails_admin/wiki/Railsadmin-DSL)

Fast start.
If you would like to configure fields in the default group without changing the other
fields already included in the default group, you can use the `configure` block like this:

```ruby
RailsAdmin.config do |config|
  config.model Team do
    edit do
      configure :description, :stringml do
        # configuration here
      end
    end
  end
end
```

If no configuration needs to take place the configuration block could have been left out:

```ruby
RailsAdmin.config do |config|
  config.model Team do
    edit do
      field :description, :stringml
    end
  end
end
```


This project rocks and uses MIT-LICENSE.<commit_msg>readme fix<commit_after># RailsAdminMongoLoc

Adds to [RailsAdmin](https://github.com/sferik/rails_admin) support for [mongoid localized fields](http://mongoid.org/en/mongoid/docs/documents.html#localized_fields). Based on gem ["localized_fields"](https://github.com/tiagogodinho/localized_fields)


## Installation

In your `Gemfile`add the following dependencies:

    gem 'rails_admin_mongo_loc', :require => 'rails_admin_mongo_loc', :git => 'git://github.com/infernalmaster/rails_admin_mongo_loc'

Run:

    $ bundle install

## Usage

Gem creates two new field types for RailsAdmin: 
* **textml** — localized analog of native text (https://github.com/sferik/rails_admin/wiki/Text)
* **stringml** — localized analog of native string (https://github.com/sferik/rails_admin/wiki/String)

*This fields accept all cofigurations as their native analogs* 

###Fields - overring field type
(more is there https://github.com/sferik/rails_admin/wiki/Railsadmin-DSL)

Fast start.
If you would like to configure fields in the default group without changing the other
fields already included in the default group, you can use the `configure` block like this:

```ruby
RailsAdmin.config do |config|
  config.model Team do
    edit do
      configure :description, :stringml do
        # configuration here
      end
    end
  end
end
```

If no configuration needs to take place the configuration block could have been left out:

```ruby
RailsAdmin.config do |config|
  config.model Team do
    edit do
      field :description, :stringml
    end
  end
end
```


This project rocks and uses MIT-LICENSE.
{'fraction_non_alphanumeric': 0.0963855421686747, 'fraction_numerical': 0.0, 'mean_word_length': 4.267111853088481, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 10, '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': '7402724', 'n_tokens_mistral': 984, 'n_tokens_neox': 932, 'n_words': 316}