Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby gem to handle settings for ActiveRecord objects by storing them as serialized Hash in a separate database table. Optional: Defaults and Namespaces.
tree: af8a8855f6

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ci
lib
spec
.gitignore
.travis.yml
Changelog.md
Gemfile
MIT-LICENSE
README.md
Rakefile
rails-settings.gemspec

README.md

Settings gem for Rails

Complete rewrite

Example

class User < ActiveRecord::Base
  has_settings :dashboard => { :theme => 'blue', :view => 'monthly', :filter => false },
               :calendar  => { :scope => 'company'}
end

Beware: Work in progress!

Something went wrong with that request. Please try again.