Sha256: f2d9bff5b2f73031856082fcf3c3563dc1890ae82fc812dfa11b2d918d4231fe
Contents?: true
Size: 400 Bytes
Versions: 6
Compression:
Stored size: 400 Bytes
Contents
require 'groupify' require 'rails' module Groupify class Railtie < Rails::Railtie initializer "groupify.active_record" do |app| ActiveSupport.on_load :active_record do require 'groupify/adapter/active_record' end end initializer "groupify.mongoid" do |app| if defined?(Mongoid) require 'groupify/adapter/mongoid' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems