# File lib/action_view/helpers/record_tag_helper.rb, line 55 def content_tag_for(tag_name, record, prefix = nil, options = nil, &block) options, prefix = prefix, nil if prefix.is_a?(Hash) options ||= {} options.merge!({ :class => "#{dom_class(record, prefix)} #{options[:class]}".strip, :id => dom_id(record, prefix) }) content_tag(tag_name, options, &block) end