<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,7 +1,7 @@
 module SocialFeed
   module SocialFeedHelper
     def feed_event_partial_name(event)
-      event.class.name.underscore.sub('event', 'hint')
+      event.class.name.underscore.sub(/event$/, 'hint')
     end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/social_feed/social_feed_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -6,11 +6,11 @@ class TestEventCreatedEvent; end
 
 describe SocialFeed::SocialFeedHelper do
   
-  it &quot;should derive the hint partial form the feed class&quot; do
+  it &quot;should derive the hint partial from the feed class&quot; do
     feed_event_partial_name(TestEvent.new).should == 'test_hint'
   end
   
-  it &quot;should only replace event with hint on the end&quot; do
+  it &quot;should only replace event with hint at the end&quot; do
     feed_event_partial_name(TestEventCreatedEvent.new).should == 'test_event_created_hint'
   end
   </diff>
      <filename>spec/helpers/social_feed_helper_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4cf859e25db2223564cbc6e487b6b48659307279</id>
    </parent>
  </parents>
  <author>
    <name>Alexander Lang</name>
    <email>alex@skywalker.local</email>
  </author>
  <url>http://github.com/langalex/social_feed/commit/26eea0cd67b7a3ba27737ba657888d6dbc1b8d38</url>
  <id>26eea0cd67b7a3ba27737ba657888d6dbc1b8d38</id>
  <committed-date>2008-06-09T03:35:09-07:00</committed-date>
  <authored-date>2008-06-09T03:35:09-07:00</authored-date>
  <message>merged helper fix from thilo (http://github.com/thilo/social_feed/commit/4cf859e25db2223564cbc6e487b6b48659307279)</message>
  <tree>5d8b96e426b8b97329588cd562c09c7f59028986</tree>
  <committer>
    <name>Alexander Lang</name>
    <email>alex@skywalker.local</email>
  </committer>
</commit>
