<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,7 +15,7 @@ module RailheadAutoUserController
 end
 
 class RailheadAutoUserSweeper &lt; ActionController::Caching::Sweeper
-  def before_validation(record)
+  def before_save(record)
     record.user_id = current_user.id if current_user and record.respond_to?(:user_id) and record.new_record? and record.user_id.nil?
   end
 end</diff>
      <filename>lib/railhead_autouser.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 Gem::Specification.new do |s|
   s.name     = &quot;railhead_autouser&quot;
-  s.version  = &quot;0.1.3&quot;
-  s.date     = &quot;2009-01-28&quot;
+  s.version  = &quot;0.1.4&quot;
+  s.date     = &quot;2009-10-22&quot;
   s.summary  = &quot;RailheadAutoUser is a Ruby on Rails plugin that automatically adds current_user to models.&quot;
   s.email    = &quot;nagybence@tipogral.hu&quot;
   s.homepage = &quot;http://github.com/nagybence/railhead_autouser&quot;</diff>
      <filename>railhead_autouser.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>286a3967c9c840f14ce515a77dfc777a75bc8768</id>
    </parent>
  </parents>
  <author>
    <name>Nagy Bence</name>
    <email>nagybence@localhost.localdomain</email>
  </author>
  <url>http://github.com/nagybence/railhead_autouser/commit/7ab2d9832c76e266a40964327fc91fd3c7c9cd46</url>
  <id>7ab2d9832c76e266a40964327fc91fd3c7c9cd46</id>
  <committed-date>2009-10-22T07:42:51-07:00</committed-date>
  <authored-date>2009-10-22T07:42:51-07:00</authored-date>
  <message>before_validation -&gt; before_save</message>
  <tree>cacf8eab882803317de430fb7163a49e9680c644</tree>
  <committer>
    <name>Nagy Bence</name>
    <email>nagybence@localhost.localdomain</email>
  </committer>
</commit>
