<commit_before># rails-modular_migration
[![Gem Version](https://badge.fury.io/rb/rails-modular_migration.png)](http://badge.fury.io/rb/rails-modular_migration) [![Build Status](https://secure.travis-ci.org/user-tony/rails-modular_migration.png?branch=master)](http://travis-ci.org/user-tony/rails-modular_migration)
[![DependencyStatus](https://gemnasium.com/user-tony/rails-modular_migration.png?travis)](https://gemnasium.com/user-tony/rails-modular_migration)
[![Code Climate](https://codeclimate.com/github/user-tony/rails-modular_migration.png)](https://codeclimate.com/github/user-tony/rails-modular_migration)

Automatic generation of migration directory.

## Requirements

* Ruby ~> 2.0
* Rails

## Installation

Include the gem in your Gemfile:

    gem 'rails-modular_migration'

## Usage

Do nothing.

## Example
    rails g model core/user name:string

    invoke  active_record
    create    app/models/core/user.rb
    create    app/models/core.rb
    create    db/migrate/core/user/20140311041213_create_core_users_.rb

  
## Contributors

Special thanks to

* http://www.ihaveu.com/home team

## License

Copyright © 2014 <NAME> <<EMAIL>> under The [MIT License](http://opensource.org/licenses/MIT).<commit_msg>Updated documentation<commit_after># rails-modular_migration
[![Gem Version](https://badge.fury.io/rb/rails-modular_migration.png)](http://badge.fury.io/rb/rails-modular_migration) [![Build Status](https://secure.travis-ci.org/user-tony/rails-modular_migration.png?branch=master)](http://travis-ci.org/user-tony/rails-modular_migration)
[![DependencyStatus](https://gemnasium.com/user-tony/rails-modular_migration.png?travis)](https://gemnasium.com/user-tony/rails-modular_migration)
[![Code Climate](https://codeclimate.com/github/user-tony/rails-modular_migration.png)](https://codeclimate.com/github/user-tony/rails-modular_migration)

The modular model and migration file.

## Requirements

* Ruby ~> 2.0
* Rails

## Installation

Include the gem in your Gemfile:

    gem 'rails-modular_migration'

## Usage

Do nothing.

## Example

 Generator Model File

    $ rails g model core/user name:string
    invoke  active_record
    create  app/models/core/user.rb
    create  app/models/core.rb
    create  db/migrate/core/user/20140324105328_create_core_users.rb
    
 Generator Migration File
 
    $ rails g migration AddGenderToCoreUser gender:integer
    invoke  active_record
    create  db/migrate/core/user/20140324105719_add_gender_to_core_user.rb

## License

Copyright © 2014 <NAME> <<EMAIL>> under The [MIT License](http://opensource.org/licenses/MIT).
{'fraction_non_alphanumeric': 0.13762528912875868, 'fraction_numerical': 0.02081727062451812, 'mean_word_length': 4.715859030837004, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 12, 'lorem ipsum': 0, 'www.': 1, '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': '548157', 'n_tokens_mistral': 971, 'n_tokens_neox': 898, 'n_words': 130}