<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -21,6 +21,7 @@ module Shouter
   module ActsAsMethods
     def shout(event_name, options = {})
       unless is_a?(ClassMethods)
+        has_many :shouter_events, :class_name =&gt; 'Shouter::Event', :as =&gt; :target
         extend(ClassMethods)
         include(InstanceMethods)
       end
@@ -42,7 +43,6 @@ module Shouter
   end
 
   module ClassMethods
-    has_many :shouter_events, :class_name =&gt; 'Shouter::Event', :as =&gt; :shoutable
   end
 
   module InstanceMethods</diff>
      <filename>lib/shouter.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>874f650147ec79191f7b0092b6b803f93a91cb15</id>
    </parent>
  </parents>
  <author>
    <name>Mat Brown</name>
    <email>mat@patch.com</email>
  </author>
  <url>http://github.com/outoftime/shouter/commit/9a7481afd1edba6490b62a0084454accd778b3b1</url>
  <id>9a7481afd1edba6490b62a0084454accd778b3b1</id>
  <committed-date>2009-06-29T09:48:25-07:00</committed-date>
  <authored-date>2009-06-29T09:48:25-07:00</authored-date>
  <message>has_many in the right place with the right :as</message>
  <tree>03f878d4e2dff974bcd32157cba71a3c050a47af</tree>
  <committer>
    <name>Mat Brown</name>
    <email>mat@patch.com</email>
  </committer>
</commit>
