Sha256: c1bf13bfe0128d0ec61f33773e84069710cfc4c48ad440ede45757c3522071ca
Contents?: true
Size: 291 Bytes
Versions: 51
Compression:
Stored size: 291 Bytes
Contents
# 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
51 entries across 51 versions & 2 rubygems