lib/lite/uxid/record/uuid.rb in lite-uxid-1.5.0 vs lib/lite/uxid/record/uuid.rb in lite-uxid-1.5.1
- old
+ new
@@ -8,10 +8,11 @@
module Uuid
extend ActiveSupport::Concern
included do
- before_create :callback_generate_uxid!, if: proc { respond_to?(:uxid) && !uxid? }
+ before_create :callback_generate_uxid!,
+ if: proc { respond_to?(:uxid) && !uxid? }
end
private
def callback_generate_uxid!