Sha256: 88e9abcb48d537ad7c5ba4538b35c2fd05bba7cb0b8102f9b052185de7522077
Contents?: true
Size: 795 Bytes
Versions: 2
Compression:
Stored size: 795 Bytes
Contents
require "rails_admin_comments/version" require 'mongoid' require 'mongoid_userstamp' require 'rails_admin/config/actions' require 'rails_admin/config/model' module RailsAdminComments class << self def orm :mongoid # if defined?(::Mongoid) # :mongoid # else # :active_record # end end def mongoid? orm == :mongoid end def active_record? orm == :active_record end end autoload :Mongoid, "rails_admin_comments/mongoid" # autoload :RailsAdminConfig, "rails_admin_comments/rails_admin_config" end require "rails_admin_comments/engine" require 'rails_admin_comments/configuration' require 'rails_admin_comments/action' # require 'rails_admin_comments/model' require 'rails_admin_comments/helper'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_admin_comments-0.1.1 | lib/rails_admin_comments.rb |
rails_admin_comments-0.1.0 | lib/rails_admin_comments.rb |