<commit_before># Rails HTML Helpers

A bunch of frequently used HTML helpers for Rails apps.

## Installation 

Run

```
gem install rails_html_helpers
```

or include the following in your Gemfile:

```
gem 'rails_html_helpers'
```

## Helpers

Currently the following helpers are included:

#### `title(partial = nil, separator = ' | ')`

Store page title partials and render them in your layout.

```erb
# view:
<% title('Article XY') %>
<commit_msg>Travis status image.<commit_after># Rails HTML Helpers [![Build Status](https://travis-ci.org/polarblau/rails_html_helpers.png?branch=master)](https://travis-ci.org/polarblau/rails_html_helpers)

A bunch of frequently used HTML helpers for Rails apps.

## Installation

Run

```
gem install rails_html_helpers
```

or include the following in your Gemfile:

```
gem 'rails_html_helpers'
```

## Helpers

Currently the following helpers are included:

#### `title(partial = nil, separator = ' | ')`

Store page title partials and render them in your layout.

```erb
# view:
<% title('Article XY') %>

{'fraction_non_alphanumeric': 0.12642585551330798, 'fraction_numerical': 0.0, 'mean_word_length': 4.85, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1581530', 'n_tokens_mistral': 361, 'n_tokens_neox': 333, 'n_words': 108}