public
Rubygem
Description: JSON Web App Framework
Homepage: http://halcyon.rubyforge.org/
Clone URL: git://github.com/mtodd/halcyon.git
Click here to lend your support to: halcyon and make a donation at www.pledgie.com !
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.
mtodd (author)
Sun Sep 28 23:26:45 -0700 2008
commit  c4cb414bf7b05176c844ff589a580aacf82d5748
tree    e943fe48824c26f0e8e9960b9e98a128708b2549
parent  59b183e39445832c81ded4e02b9aceca4aa94c30
...
1
 
 
 
 
 
 
2
3
4
...
 
1
2
3
4
5
6
7
8
9
0
@@ -1,4 +1,9 @@
0
-%w(rubygems extlib merb-core/dispatch/router uri).each {|dep|require dep}
0
+%w(rubygems merb-core/core_ext merb-core/dispatch/router uri).each {|dep|require dep}
0
+
0
+# Merb::Router::Route#generate checks Merb::Config[:path_prefix], skipping if
0
+# it can't find the element in the hash. Here, we've recreated Merb's config
0
+# to ignore this.
0
+module Merb; Config = {}; end
0
 
0
 module Halcyon
0
   class Application
...
79
80
81
82
 
83
84
85
...
79
80
81
 
82
83
84
85
0
@@ -79,7 +79,7 @@ describe "Halcyon::Controller" do
0
     resource = Model.new
0
     resource.id = 1
0
     controller = Resources.new(Rack::MockRequest.env_for("/resources/1"))
0
-    controller.uri.should == controller.url(:resource, resource)
0
+    controller.uri.should == controller.url(:resource, resource.id)
0
   end
0
   
0
   it "should accept response headers" do

Comments