Sha256: ef473c1c527101ecce9a44874f68cb418a5220f47a982f41e7694f3cf66cbdef
Contents?: true
Size: 413 Bytes
Versions: 7
Compression:
Stored size: 413 Bytes
Contents
if RailsAdminComments.active_record? module RailsAdminComments class ModelComment < ActiveRecord::Base end end end module RailsAdminComments class ModelComment #binding.pry if RailsAdminComments.mongoid? include RailsAdminComments::ModelComments::Mongoid end if RailsAdminComments.active_record? self.table_name = "rails_admin_model_comments".freeze end end end
Version data entries
7 entries across 7 versions & 1 rubygems