GlobalConfiguration is ActiveModel based cached settings management.
Create your database.yml first and set your db configurations
You will need to create db table using
rake db:create && rake db:migrate
Gemfile is using sqlite gem. Change it to reflect what db you want to use.
It uses guard to run test suit so to run test suite in command line
guard
Simple usage is
Set a value(you can set Integer, Float, true/false, string)
GlobalConfiguration[:age] = 22
GlobalConfiguration[:email] = '[email protected]'
And to get a value from configuration
GlobalConfiguration[:age]
GlobalConfiguration[:email]
Added a method to String class to convert to boolean