Sha256: 4124a8c045e78b74aead5e56a148b5dff5f3b36b90a98e2e202fa5a251b55b1c
Contents?: true
Size: 296 Bytes
Versions: 31
Compression:
Stored size: 296 Bytes
Contents
# Site is used to store the global configuration. Example: # # Site.config[:host] = 'example.com' # Site.save! class Site < ActiveRecord::Base attr_accessible :config serialize :config, Hash class << self def current @current ||= first || create! end end end
Version data entries
31 entries across 31 versions & 2 rubygems