class TrustyCms::Config
def value
for everything else a string.
If the config item is boolean the response will be true or false. For items with :type => :integer it will be an integer,
key = TrustyCms::Config.find_or_create_by_key('key').value
is equivalent to this:
key = TrustyCms.config['key']
Requesting a config item:
def value if boolean? checked? else self[:value] end end