I\'m working on an app that downloads meta tags from websites and saves then. The downloading happens in a model called Site. I\'d like to save off the downloaded
Site
By inspection, the offending line appears to be:
self.robots_tags.robots_meta = tag
You should iterate over self.robots_tags instead, with something like:
self.robots_tags
self.robots_tags.each do |robot_tag| robot_tag.robots_meta = tag end