app/models/mautic/contact.rb in mautic-2.1.1 vs app/models/mautic/contact.rb in mautic-2.2.2

- old
+ new

@@ -9,7 +9,14 @@ def name "#{firstname} #{lastname}" end + def assign_attributes(source = nil) + super + self.attributes = { + tags: (source['tags'] || []).collect{|t| Mautic::Tag.new(@connection, t)} + } if source + end + end end \ No newline at end of file