<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 *2.3.0 [Edge]*
 
+* Add a rake task to generate dispatchers : rake rails:generate_dispatchers [Pratik]
+
 * &quot;rails &lt;app&gt;&quot; will not generate public/dispatch.cgi/fcgi/rb files by default now. Please use &quot;--with-dispatchers&quot; option if you need them. [Yaroslav Markin, Pratik Naik]
 
 * Added rake rails:update:application_controller to renamed application.rb to application_controller.rb -- included in rake rails:update so upgrading to 2.3 will automatically trigger it #1439 [kastner]</diff>
      <filename>railties/CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -124,5 +124,13 @@ namespace :rails do
         puts &quot;#{old_style} has been renamed to #{new_style}, update your SCM as necessary&quot;
       end
     end
+    
+    desc &quot;Generate dispatcher files in RAILS_ROOT/public&quot;
+    task :generate_dispatchers do
+      require 'railties_path'
+      FileUtils.cp(RAILTIES_PATH + '/dispatches/dispatch.fcgi', RAILS_ROOT + '/public/dispatch.fcgi')
+      FileUtils.cp(RAILTIES_PATH + '/dispatches/dispatch.rb', RAILS_ROOT + '/public/dispatch.rb')
+      FileUtils.cp(RAILTIES_PATH + '/dispatches/dispatch.rb', RAILS_ROOT + '/public/dispatch.cgi')
+    end
   end
 end</diff>
      <filename>railties/lib/tasks/framework.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b7568e77d79cba9202b961cbe2a822b8b6b34bb0</id>
    </parent>
  </parents>
  <author>
    <name>Pratik Naik</name>
    <login>lifo</login>
    <email>pratiknaik@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/1cbdd53bd383e7d1dc34cad50c22ff5a330bbf91</url>
  <id>1cbdd53bd383e7d1dc34cad50c22ff5a330bbf91</id>
  <committed-date>2008-11-24T10:50:09-08:00</committed-date>
  <authored-date>2008-11-24T10:50:09-08:00</authored-date>
  <message>Add a rake task to generate dispatchers : rake rails:generate_dispatchers</message>
  <tree>4854eec0514d44e3134af77a80b8ca73b4c601d7</tree>
  <committer>
    <name>Pratik Naik</name>
    <login>lifo</login>
    <email>pratiknaik@gmail.com</email>
  </committer>
</commit>
