<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -103,6 +103,10 @@ class Group &lt; ActiveRecord::Base
     raise &quot;Implement this...&quot;
   end
 
+  def share(user, shareable)
+    share(user, shareable.class.name, shareable.id)
+  end
+  
   def share(user, shareable_type, shareable_id)
     params = {:shareable_type =&gt; shareable_type, :shareable_id =&gt; shareable_id} 
     return false if self.sharings.find :first, :conditions =&gt; params</diff>
      <filename>app/models/group.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>01cd101aedc0b4d962efdf60aa26bcd3f9b843ca</id>
    </parent>
  </parents>
  <author>
    <name>Alberto Molpeceres</name>
    <email>alberto.molpeceres@gmail.com</email>
  </author>
  <url>http://github.com/tog/tog_social/commit/e48083426914f03755758950eb63542d2a71dd81</url>
  <id>e48083426914f03755758950eb63542d2a71dd81</id>
  <committed-date>2009-06-10T16:40:18-07:00</committed-date>
  <authored-date>2009-03-23T08:02:58-07:00</authored-date>
  <message>overloaded share method

Signed-off-by: Aitor Garc&#237;a Rey &lt;aitor@linkingpaths.com&gt;</message>
  <tree>98226c0b866203708fefa22fa0bb62230c0d0090</tree>
  <committer>
    <name>Aitor Garc&#237;a Rey</name>
    <email>aitor@linkingpaths.com</email>
  </committer>
</commit>
