<commit_before># MediaInclude

Includes Images and videos your models

## Installation

Add this line to your application's Gemfile:

    gem 'media_include'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install media_include

## Usage

TODO: Write usage instructions here

## 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>updating to repo<commit_after># MediaInclude

Includes Images and videos your models

## Installation

Add this line to your application's Gemfile:

    gem 'media_include'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install media_include

## Usage
To generate the image and video models 
    rails generate media_include:install
    rake db:migrate

Now we are going to attach images to Post model

	class Post < ActiveRecord::Base
	  attr_accessible :title
	  accept_images
	end

In the form

	= nested_form_for @post do |f|
      = f.input :title
	  =render :partial => "layouts/load_images", :locals => {:f => f}

	  = f.button :submit




## 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.07984496124031008, 'fraction_numerical': 0.004651162790697674, 'mean_word_length': 3.6272401433691757, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, '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': '5718403', 'n_tokens_mistral': 409, 'n_tokens_neox': 378, 'n_words': 160}