<commit_before># Active Record Replica
![](https://img.shields.io/badge/status-DEPRECATED-red.svg) [![Gem Version](https://img.shields.io/gem/v/active_record_replica.svg)](https://rubygems.org/gems/active_record_replica) [![Build Status](https://travis-ci.org/rocketjob/active_record_replica.svg?branch=master)](https://travis-ci.org/rocketjob/active_record_replica) [![Downloads](https://img.shields.io/gem/dt/active_record_replica.svg)](https://rubygems.org/gems/active_record_replica) [![License](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache-2.0) 

Redirect ActiveRecord (Rails) reads to replica databases while ensuring all writes go to the primary database.

## Status

All of the capabilities of this gem are now included in Rails 6 :tada:

_This gem is now archived and no longer maintained._<commit_msg>no-op<commit_after># Active Record Replica
![](https://img.shields.io/badge/status-DEPRECATED-red.svg) [![Gem Version](https://img.shields.io/gem/v/active_record_replica.svg)](https://rubygems.org/gems/active_record_replica) [![Build Status](https://travis-ci.org/rocketjob/active_record_replica.svg?branch=master)](https://travis-ci.org/rocketjob/active_record_replica) [![Downloads](https://img.shields.io/gem/dt/active_record_replica.svg)](https://rubygems.org/gems/active_record_replica) [![License](https://img.shields.io/badge/license-Apache%202.0-brightgreen.svg)](http://opensource.org/licenses/Apache-2.0) 

Redirect ActiveRecord (Rails) reads to replica databases while ensuring all writes go to the primary database.

## Status

All of the capabilities of this gem are now included in Rails 6 :tada:

_This gem is now archived and no longer maintained._

{'fraction_non_alphanumeric': 0.15025906735751296, 'fraction_numerical': 0.008059873344847437, 'mean_word_length': 5.979919678714859, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4238980', 'n_tokens_mistral': 612, 'n_tokens_neox': 589, 'n_words': 101}