<commit_before># AssetsHelper

assets helper is the helper that use to include css and javascript by controller name automatically, it mean that it include only css and javascript file in the controller that you are standing.

## Installation

Add this line to your application's Gemfile:

    gem 'assets_helper'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install assets_helper

## Usage

Step1: Add before_filter :include_css, :include_javascript in application_controller.rb

    class ApplicationController < ActionController::Base
      protect_from_forgery

      before_filter :include_css, :include_javascript
    end
<commit_msg>edit readme<commit_after># AssetsHelper

assets helper is the helper that use to include css and javascript by controller name automatically, it mean that it include only css and javascript file in the controller that you are standing. For details Document: http://geekhmer.github.io/blog/2013/12/19/assets-helper-gem/

## Installation

Add this line to your application's Gemfile:

    gem 'assets_helper'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install assets_helper

## Usage

Step1: Add before_filter :include_css, :include_javascript in application_controller.rb

    class ApplicationController < ActionController::Base
      protect_from_forgery

      before_filter :include_css, :include_javascript
    end

{'fraction_non_alphanumeric': 0.05088339222614841, 'fraction_numerical': 0.007067137809187279, 'mean_word_length': 4.323308270676692, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5227935', 'n_tokens_mistral': 387, 'n_tokens_neox': 359, 'n_words': 151}