Created
July 15, 2009 10:49
-
-
Save anonymous/147641 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in config/init.rb | |
puts "Starting Nanite thread" | |
Thread.new do | |
EventMachine.run do | |
Nanite.start_mapper(:log_level => 'debug' , :user => 'mapper', :pass => 'testing', :vhost => '/nanite', | |
:persistent => false, :mapper => true) | |
end | |
end | |
# the request | |
# bin/merb -i -e production | |
Nanite.request('/title/search_by_title', {:custom_args => 123}) | |
# returns false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment