Sha256: fdbf91d308c3aaed32df8f060bc0fb0ae5cdd1ad013c5b06706b14e708122e8a
Contents?: true
Size: 465 Bytes
Versions: 4
Compression:
Stored size: 465 Bytes
Contents
# Use this hook to configure Activable gem. Activable.setup do |config| # Load the methods for ActiveRecord require 'activable/active_record' # Set here if your models have a responsible when they are either activated or # deactivated. config.set(has_responsible: true) # Configure here who is the responsible for activating or deactivating your # models. It has to be a class that extends ActiveRecord::Base. config.set(responsible: "User") end
Version data entries
4 entries across 2 versions & 1 rubygems