<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -35,6 +35,7 @@ Example
   end
   
   # using a 'param' column, in this case 'slug'. Note the use of String.urlize to make the title URL-friendly.
+  # On Rails 2.2+, String.urlize is an alias for Rails built-in Inflector.parameterize.
   
   class Post &lt; ActiveRecord::Base
     set_param_column &quot;slug&quot; # defaults to &quot;param&quot;</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 Gem::Specification.new do |s|
   s.name     = &quot;from_param&quot;
-  s.version  = &quot;1.0&quot;
-  s.date     = &quot;2008-08-29&quot;
+  s.version  = &quot;1.0.1&quot;
+  s.date     = &quot;2008-10-11&quot;
   s.summary  = &quot;Better convention for finding records based on parameters&quot;
   s.homepage = &quot;http://github.com/mbleigh/from_param/tree/master&quot;
   s.description = &quot;This plugin is an addition to  ActiveRecord::Base that establishes a better </diff>
      <filename>from_param.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -5,6 +5,10 @@ class String
   # * Converts to all lower-case
   # * Removes all characters except alphabetic and numeric
   def urlize
-    self.gsub(&quot; &quot;,&quot;-&quot;).downcase.gsub(/[^a-z0-9-]/,&quot;&quot;)
+    if ActiveSupport::Inflector.respond_to?(:parameterize)
+      self.parameterize
+    else
+      self.gsub(&quot; &quot;,&quot;-&quot;).downcase.gsub(/[^a-z0-9-]/,&quot;&quot;)
+    end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/string_extensions.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>95bb8047e7e96cf74d01331ba0c86dcca579e3ae</id>
    </parent>
  </parents>
  <author>
    <name>Mike Gunderloy</name>
    <email>MikeG1@larkfarm.com</email>
  </author>
  <url>http://github.com/ffmike/from_param/commit/151e34f642c7ca79029d8d7637e1bf35194e4508</url>
  <id>151e34f642c7ca79029d8d7637e1bf35194e4508</id>
  <committed-date>2008-10-11T18:26:38-07:00</committed-date>
  <authored-date>2008-10-11T18:26:38-07:00</authored-date>
  <message>Added 2.2 compatibility (String.urlize maps to Inflector.parameterize)</message>
  <tree>8ee75a904389f730317cd39eac2c319c235cbe70</tree>
  <committer>
    <name>Mike Gunderloy</name>
    <email>MikeG1@larkfarm.com</email>
  </committer>
</commit>
