Use Proc for Threadable after_create
This commit is contained in:
@@ -3,6 +3,6 @@ module Threadable
|
||||
|
||||
included do
|
||||
has_one :thread_entry, as: :threadable
|
||||
after_create { create_thread_entry! bubble: bubble }
|
||||
after_create -> { create_thread_entry! bubble: bubble }
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user