<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -82,7 +82,7 @@ class Puppet::Rails::Resource &lt; ActiveRecord::Base
     end
 
     def ref
-        &quot;%s[%s]&quot; % [self[:restype].capitalize, self[:title]]
+        &quot;%s[%s]&quot; % [self[:restype].split(&quot;::&quot;).collect { |s| s.capitalize }.join(&quot;::&quot;), self[:title]]
     end
 
     # Convert our object to a resource.  Do not retain whether the object</diff>
      <filename>lib/puppet/rails/resource.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9035d4b6dabe91ea2288f915497ad8d184368df8</id>
    </parent>
  </parents>
  <author>
    <name>Brice Figureau</name>
    <login>masterzen</login>
    <email>brice@daysofwonder.com</email>
  </author>
  <url>http://github.com/masterzen/puppet/commit/23840d9ce202d2c2f2bb02c5769ecde8a70180d0</url>
  <id>23840d9ce202d2c2f2bb02c5769ecde8a70180d0</id>
  <committed-date>2008-08-11T01:49:20-07:00</committed-date>
  <authored-date>2008-08-11T01:49:20-07:00</authored-date>
  <message>Fix #1052 - abysmal storeconfig performance - part1

Resources whose references are of the form:
Main::Sub1::Sub2
are extracted from the database under the form:
Main::sub1::sub2

Puppet then fails to match them against compiled resources of same
references which are capitalized as they should, and
tries to overwrite them on every storeconfig run, leading to tons
of cascading DELETE/INSERT, hurting performance.

Signed-off-by: Brice Figureau &lt;brice-puppet@daysofwonder.com&gt;</message>
  <tree>843e94df776f9ad443e114f99360e44406f11d17</tree>
  <committer>
    <name>Brice Figureau</name>
    <login>masterzen</login>
    <email>brice@daysofwonder.com</email>
  </committer>
</commit>
