fixes and refactored JSON spec
This commit is contained in:
parent
5cd3d7c40a
commit
a65cf77ed9
|
@ -8,7 +8,7 @@ module Eventable
|
|||
def events=(events)
|
||||
events.each do |event|
|
||||
event.target_id = id
|
||||
event.data.deep_symbolize_keys!
|
||||
event.data.deep_symbolize_keys! if event.data
|
||||
event.save!
|
||||
end
|
||||
end
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue