<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -20,12 +20,10 @@ module Shouter
 
   module ActsAsMethods
     def shout(event_name, options = {})
-      lifecycle_event = options[:on] ||
-        raise(ArgumentError, &quot;:on option must be provided for shout&quot;)
-      send(&quot;after_#{lifecycle_event}&quot;) do |shoutable|
+      after_create do |shoutable|
         Shouter::EventBuilder.build(shoutable, event_name, options)
       end
-      if options[:copy_fields] &amp;&amp; options[:on].to_sym == :create
+      if options[:copy_fields]
         before_update do |shoutable|
           update_attributes = {}
           options[:copy_fields].each do |copy_field|</diff>
      <filename>lib/shouter.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,5 @@
 class Comment &lt; ActiveRecord::Base
-  shout :commented, :on =&gt; :create,
-                    :target =&gt; :commentable,
+  shout :commented, :target =&gt; :commentable,
                     :actor =&gt; :user,
                     :owners =&gt; proc { |comment| comment.commentable.users }
 </diff>
      <filename>spec/mock_app/app/models/comment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,7 @@ class Link &lt; ActiveRecord::Base
   belongs_to :source, :polymorphic =&gt; true
   belongs_to :target, :polymorphic =&gt; true
 
-  shout :post_linked, :on =&gt; :create,
-                      :group =&gt; true,
+  shout :post_linked, :group =&gt; true,
                       :subject =&gt; :target,
                       :target =&gt; :source
 end</diff>
      <filename>spec/mock_app/app/models/link.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,8 +3,7 @@ class PhotoAttachment &lt; ActiveRecord::Base
   belongs_to :target, :polymorphic =&gt; true
   belongs_to :user
 
-  shout :photo_attached, :on =&gt; :create,
-                         :subject =&gt; :photo,
+  shout :photo_attached, :subject =&gt; :photo,
                          :target =&gt; :target,
                          :group =&gt; 15.minutes
 end</diff>
      <filename>spec/mock_app/app/models/photo_attachment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,7 @@ class Post &lt; ActiveRecord::Base
   has_and_belongs_to_many :users
   has_many :photo_attachments, :as =&gt; :target
 
-  shout :post_created, :on =&gt; :create,
-                       :actors =&gt; :users,
+  shout :post_created, :actors =&gt; :users,
                        :copy_fields =&gt; [:published_at]
 
   def photos</diff>
      <filename>spec/mock_app/app/models/post.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>86ded555c1a213e1323f7f1cee5048bddb518842</id>
    </parent>
  </parents>
  <author>
    <name>Mat Brown</name>
    <email>mat@patch.com</email>
  </author>
  <url>http://github.com/outoftime/shouter/commit/fb34411b50dfa7a46e31678f3ae70412d347a4da</url>
  <id>fb34411b50dfa7a46e31678f3ae70412d347a4da</id>
  <committed-date>2009-06-29T08:27:24-07:00</committed-date>
  <authored-date>2009-06-29T08:26:03-07:00</authored-date>
  <message>Only track object creation</message>
  <tree>fbf76c38fdca3f1c468c3f0c62bf1e95b3ff7554</tree>
  <committer>
    <name>Mat Brown</name>
    <email>mat@patch.com</email>
  </committer>
</commit>
