Sha256: 8ba7e7c7789ce359719993e3ba6206958435ce76416dd6bf6869f249e463c88b
Contents?: true
Size: 371 Bytes
Versions: 4
Compression:
Stored size: 371 Bytes
Contents
class CallbackArchival4 < ActiveRecord::Base archival_record attr_accessor :set_this_value, :pass_callback before_archive :set_value, :conditional_callback_passer private def set_value self.settable_field = set_this_value end private def conditional_callback_passer pass_callback || pass_callback.nil? end end
Version data entries
4 entries across 4 versions & 1 rubygems