<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,7 +15,7 @@ module ActionView
       def div_for(record, *args, &amp;block)
         content_tag_for(:div, record, *args, &amp;block)
       end
-  
+
       # content_tag_for creates an HTML element with id and class parameters
       # that relate to the specified Active Record object. For example:
       #
@@ -34,7 +34,7 @@ module ActionView
       #    &lt;% content_tag_for(:tr, @person, :foo) do %&gt; ...
       #
       # produces:
-      #    
+      #
       #    &lt;tr id=&quot;foo_person_123&quot; class=&quot;person&quot;&gt;...
       #
       # content_tag_for also accepts a hash of options, which will be converted to
@@ -50,7 +50,7 @@ module ActionView
       def content_tag_for(tag_name, record, *args, &amp;block)
         prefix  = args.first.is_a?(Hash) ? nil : args.shift
         options = args.extract_options!
-        options.merge!({ :class =&gt; &quot;#{dom_class(record)} #{options[:class]}&quot;.strip, :id =&gt; dom_id(record, prefix) })
+        options.merge!({ :class =&gt; &quot;#{dom_class(record, prefix)} #{options[:class]}&quot;.strip, :id =&gt; dom_id(record, prefix) })
         content_tag(tag_name, options, &amp;block)
       end
     end</diff>
      <filename>actionpack/lib/action_view/helpers/record_tag_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,7 @@ class RecordTagHelperTest &lt; ActionView::TestCase
   end
 
   def test_content_tag_for_prefix
-    expected = %(&lt;ul class=&quot;post&quot; id=&quot;archived_post_45&quot;&gt;&lt;/ul&gt;)
+    expected = %(&lt;ul class=&quot;archived_post&quot; id=&quot;archived_post_45&quot;&gt;&lt;/ul&gt;)
     actual = content_tag_for(:ul, @post, :archived) { }
     assert_dom_equal expected, actual
   end</diff>
      <filename>actionpack/test/template/record_tag_helper_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>665c7ad29d5614b8f5535d317f1dd2803ddcaa7d</id>
    </parent>
  </parents>
  <author>
    <name>Joshua Peek</name>
    <login>josh</login>
    <email>josh@joshpeek.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/3b6bdfc1050a83c6339421257d60a6163bf3c687</url>
  <id>3b6bdfc1050a83c6339421257d60a6163bf3c687</id>
  <committed-date>2009-10-08T12:13:49-07:00</committed-date>
  <authored-date>2009-10-08T12:13:36-07:00</authored-date>
  <message>API change: content_tag_for outputs prefixed class name</message>
  <tree>8092062ff62656f5b4df23932fcb735e6244cda5</tree>
  <committer>
    <name>Joshua Peek</name>
    <login>josh</login>
    <email>josh@joshpeek.com</email>
  </committer>
</commit>
