public
Fork of KirinDave/fuzed
Description: A new revision of Fuzed, the Erlang-based frontend for web apps. Check out the mailing list at http://groups.google.com/group/fuzed
Clone URL: git://github.com/tmm1/fuzed.git
actually allow use of rails json this time
mojombo (author)
Tue Jun 17 00:13:46 -0700 2008
commit  8fd745071ed746bfcef5fec1cc66ec002ee9dffd
tree    9aa582081819a6c15d8d179671310c99d578109d
parent  6629514d7b3f942f49867bb356dc7f06b3d55cb7
...
1
2
3
4
 
5
6
7
...
1
2
3
 
4
5
6
7
0
@@ -1,7 +1,7 @@
0
 require 'rubygems'
0
 require 'optparse'
0
 require 'erlectricity'
0
-require 'json' unless ''.respond_to?(:to_json) # prevent from clashing with Rails' built-in json library
0
+require 'json' unless $rails_json # prevent from clashing with Rails' built-in json library
0
 
0
 class Chassis
0
   class << self
...
5
6
7
 
8
9
10
...
5
6
7
8
9
10
11
0
@@ -5,6 +5,7 @@ require 'stringio'
0
 require 'logger'
0
 
0
 # gems
0
+require 'rubygems'
0
 require 'rack'
0
 
0
 # initialize logging info
...
 
 
1
2
3
...
1
2
3
4
5
0
@@ -1,3 +1,5 @@
0
+$rails_json = true
0
+
0
 # core
0
 require 'optparse'
0
 

Comments

    No one has commented yet.