An open API service indexing awesome lists of open source software.

https://github.com/sixarm/sixarm_ruby_active_record_singleton

SixArm.com » Ruby » ActiveRecord singleton object for Rails
https://github.com/sixarm/sixarm_ruby_active_record_singleton

activerecord gem rails ruby singleton

Last synced: 5 months ago
JSON representation

SixArm.com » Ruby » ActiveRecord singleton object for Rails

Awesome Lists containing this project

README

          

# SixArm.com → Ruby →
ActiveRecord singleton object for Rails

* Doc:
* Gem:
* Repo:

## Introduction

ActiveRecord Singleton object for Ruby On Rails.

This is useful if you want to ensure there is only one occurance of a model.

For docs go to

Want to help? We're happy to get pull requests.

## Install

### Gem

To install this gem in your shell or terminal:

gem install sixarm_ruby_active_record_singleton

### Gemfile

To add this gem to your Gemfile:

gem 'sixarm_ruby_active_record_singleton'

### Require

To require the gem in your code:

require 'sixarm_ruby_active_record_singleton'