lib/meta_manager/taggable.rb
def meta_tag(attr_name, options={})
      key = normalize_meta_tag_name(attr_name)

      cached_meta_tags[key] ||= self.meta_tags.detect {|t| t.name == key}
      cached_meta_tags[key] ||= self.meta_tags.build(:name => key) if options[:build]
      cached_meta_tags[key]
    end
def meta_tag(attr_name, options={})
      key = normalize_meta_tag_name(attr_name)

      cached_meta_tags[key] ||= self.meta_tags.detect {|t| t.name == key}
      cached_meta_tags[key] ||= self.meta_tags.build(:name => key) if options[:build]
      cached_meta_tags[key]
    end
def meta_tag ( attr_name , options = { } ) key = normalize_meta_tag_name ( attr_name ) cached_meta_tags [ key ] ||= self . meta_tags . detect { | t | t . name == key } cached_meta_tags [ key ] ||= self . meta_tags . build ( :name => key ) if options [ :build ] cached_meta_tags [ key ] end
Save meta tags records into one hash
Save meta tags records into one hash