Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
Add Comment
Please, Sign In to add comment