Sha256: 5aa8114b027a560a3782251e0a14ccc6c3a4b5c24add3af78853767c4f6731ea
Contents?: true
Size: 401 Bytes
Versions: 10
Compression:
Stored size: 401 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
10 entries across 10 versions & 1 rubygems