fixes and refactored JSON spec

This commit is contained in:
James Lopez 2016-06-29 13:11:26 +02:00
parent 5cd3d7c40a
commit a65cf77ed9
2 changed files with 5641 additions and 3623 deletions

View File

@ -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