From 80a924c0b2dd572e91ad7966e3b35323de8f7f3c Mon Sep 17 00:00:00 2001 From: Stefan Exner Date: Mon, 15 Jun 2015 09:25:26 +0200 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index e4e2e39..5aa08c3 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ SettingAccessors ================ +[![Gem Version](https://badge.fury.io/rb/setting_accessors.svg)](http://badge.fury.io/rb/setting_accessors) +[![Build Status](https://travis-ci.org/Stex/setting_accessors.svg?branch=master)](https://travis-ci.org/Stex/setting_accessors) + Sometimes it's handy to keep track of various settings or attributes in ActiveRecord instances and persist them through various requests (and sessions). An example would be to store a items-per-page value for multiple tables in the application per user or probably also set default sorting directions. The only problem is, that it would be necessary to either keep hundreds of columns in the corresponding table or create a serialized attribute which would grow over time and generally be hard to manage.