tapajos/highrise — pull request #65 by dior001 (2014-05-05 22:34:45+00:00)
Title: Fix undefined method attributes error in Taggable

The recent change to taggable.rb line 12.
```
to_delete = self.tags.find{|tag| tag.attributes['name'] == tag_name} unless tag_name.blank?
```
exposed an inconsistency in the overridden tags method in the Person class and the tags method in the Taggable class. This meant the untag! method raised an error for tags on the Company class. As Taggable is only used in Company and Person it made sense to me to move this to the Taggable class and eliminate the need for overriding the tags method in the Person class.
The error occurring is as follows:
```
undefined method `attributes' for {"id"=>2237655, "name"=>"Commercial Facility"}:Hash
/app/vendor/bundle/ruby/2.1.0/gems/highrise-3.1.6/lib/highrise/taggable.rb:12
```