module Georgia
Constants
- VERSION
Public Class Methods
header=(value)
click to toggle source
# File lib/georgia.rb, line 48 def header= value ActiveSupport::Deprecation.warn("config.header is deprecated, use config.navigation instead.", caller) end
indexer=(value)
click to toggle source
# File lib/georgia.rb, line 51 def indexer= value ActiveSupport::Deprecation.warn("config.indexer is deprecated, we jumped on the ElasticSearch train.", caller) end
setup() { |self| ... }
click to toggle source
# File lib/georgia.rb, line 33 def setup yield self verify_data_integrity end
verify_data_integrity()
click to toggle source
# File lib/georgia.rb, line 38 def verify_data_integrity begin Georgia.roles.each do |role_name| Georgia::Role.where(name: role_name).first_or_create end rescue ActiveRecord::StatementInvalid => ex # Database hasn't been migrated yet end end