<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,9 @@
-%w(rubygems extlib merb-core/dispatch/router uri).each {|dep|require dep}
+%w(rubygems merb-core/core_ext merb-core/dispatch/router uri).each {|dep|require dep}
+
+# Merb::Router::Route#generate checks Merb::Config[:path_prefix], skipping if
+# it can't find the element in the hash. Here, we've recreated Merb's config
+# to ignore this.
+module Merb; Config = {}; end
 
 module Halcyon
   class Application</diff>
      <filename>lib/halcyon/application/router.rb</filename>
    </modified>
    <modified>
      <diff>@@ -79,7 +79,7 @@ describe &quot;Halcyon::Controller&quot; do
     resource = Model.new
     resource.id = 1
     controller = Resources.new(Rack::MockRequest.env_for(&quot;/resources/1&quot;))
-    controller.uri.should == controller.url(:resource, resource)
+    controller.uri.should == controller.url(:resource, resource.id)
   end
   
   it &quot;should accept response headers&quot; do</diff>
      <filename>spec/halcyon/controller_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>59b183e39445832c81ded4e02b9aceca4aa94c30</id>
    </parent>
  </parents>
  <author>
    <name>Matt Todd</name>
    <email>chiology@gmail.com</email>
  </author>
  <url>http://github.com/mtodd/halcyon/commit/c4cb414bf7b05176c844ff589a580aacf82d5748</url>
  <id>c4cb414bf7b05176c844ff589a580aacf82d5748</id>
  <committed-date>2008-09-28T23:26:45-07:00</committed-date>
  <authored-date>2008-09-28T23:26:45-07:00</authored-date>
  <message>Fixed issues with the extract_options_from_args! method missing error and fixed a spec issue with the new controller.url not automatically casting models into their respective IDs.</message>
  <tree>e943fe48824c26f0e8e9960b9e98a128708b2549</tree>
  <committer>
    <name>Matt Todd</name>
    <email>chiology@gmail.com</email>
  </committer>
</commit>
