Sha256: bddfa9f6f4cc257783f8d7949793e349fd79e46a580d849ee5905afa8626ef44
Contents?: true
Size: 322 Bytes
Versions: 8
Compression:
Stored size: 322 Bytes
Contents
# frozen_string_literal: true # Adds the model stamper ability to the provided user class # # It only adds it, if the user model is a active_record model. # if Alchemy.user_class < ActiveRecord::Base Alchemy.user_class.class_eval do model_stamper stampable stamper_class_name: Alchemy.user_class.name end end
Version data entries
8 entries across 8 versions & 1 rubygems