Sha256: dc135e3f5d54e884819833db9fd6c9f20b53cfc4211917bc4f2e9c3aff53bce0
Contents?: true
Size: 958 Bytes
Versions: 3
Compression:
Stored size: 958 Bytes
Contents
require 'popolo/engine' require 'active_support/concern' require 'inherited_resources' require 'mongoid' require 'mongoid/tree' module Popolo # The parent controller all Popolo controllers inherit from. Defaults to # ApplicationController. This should be set early in the initialization # process and should be set to a string. # # @see https://github.com/plataformatec/devise/blob/master/lib/devise.rb#L196 mattr_accessor :parent_controller @@parent_controller = 'ApplicationController' # The database and session storage options used by all Popolo models. # # @see http://mongoid.org/en/mongoid/docs/documents.html#storage mattr_accessor :storage_options @@storage_options = {} # The storage options for each Popolo model. # # @see http://mongoid.org/en/mongoid/docs/documents.html#storage mattr_accessor :storage_options_per_class @@storage_options_per_class = {} DATE_STRING_FORMAT = /\A\d{4}(-\d{2}){0,2}\z/ end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
popolo-0.1.1 | lib/popolo.rb |
popolo-0.1.0 | lib/popolo.rb |
popolo-0.0.3 | lib/popolo.rb |