similar to: General path question

Displaying 20 results from an estimated 100 matches similar to: "General path question"

2003 Mar 21
0
malformed Address
Hi, I am running rsync as daemon and using rsyncd.conf as follows log file = /etc/rsyncid.log [usda] path=/my_path/ uid = web gid = wweb use chroot = yes read only = no auth users = myuser secrets file = /etc/rsyncd.secrets hosts allow = abc.br.usda.com pqr.br.usda.com xyz.br.usda.com strict modes = no if I rsync data
2007 Jul 26
2
rspec_resource error
First of all hi, I''m new to the list, and rather new to rspec as will probably show in myquestion. I have tried installing rspec and rspec_on_rails as plugs both using "script/install" and "piston import" commands using the "current release install instructions" here [1]. However, there doesn''t seem to be any mention of the rspec_resource
2006 Nov 04
1
layere dispatching - please help!
Hi Folks, I''m having trouble with setting up web services with layered dispatching. I''ve defined my controller (backend_controller.rb) as: class BackendController < ApplicationController web_service_dispatching_mode :layered web_service_scaffold :invoke web_service (:car) {CarService.new} end and my service (node_service.rb) as:
2006 Jan 04
5
Webservice External XMLRPC
Hello i have some trouble getting my webservice to run . I have the following webservice : class DirectSpoolAPI < ActionWebService::API::Base api_method :add, :expects => [{:html=>:string},{:from=>:string}], :returns => [Customer] end class DirectSpoolService < ActionWebService::Base web_service_api DirectSpoolAPI def add(html,from) Customer.find(:first) end
2006 Jun 07
0
Logger in ActionWebService::Base?
I''d like to split up my directly dispatched controller into a layered dispatch setup with one controller and two services derived from ActionWebService::Base. However, in doing this I found that logger is not a class_variable of AWS::Base. This kind of scares me away from using the layered dispatch mode, as I''d like to have logging in the method implementations. Is there a clean
2006 May 24
0
rails not liking api folder
Has anyone had trouble with their controller for an AWS webservice not being able to see the api class when it is in the api folder? I used the ''script/generate web_service'' to make a webservice and api and the only way it works is to move my api file into the controller folder and not have it in the api folder. Is this normal? Ben -------------- next part -------------- An
2010 Nov 02
0
webservice - get client ip address
Hi I have the following problem in my application I have in the controller: class XmlrpcController < ApplicationController web_service_dispatching_mode :layered wsdl_service_name ''weblogUpdates.ping'' web_service_scaffold :invoke web_service :weblogUpdates, WeblogUpdates.new end in the api definition file: ------- class WeblogUpdatesApi <
2006 Mar 02
1
web serveces problem
Hi, I''m trying to added layered web services to my application and from some reason it''s not working for me. i''m working with ruby 1.84, rails 1.0. here are my files: 1. app/apis/kate_api.rb: class KateAPI < ActionWebService::API::Base inflect_names false api_method :check_version, :expects => [:string], :returns => [:string] end 2.
2006 May 17
3
WebServices: execution expired
1 hour spent and I can''t got explanation why I have "execution expired" when I trying to test this web service: Pointed to: http://localhost:3000/news/list class NewsService < ActionWebService::Base web_service_api NewsApi def list [NewsTopic.new, NewsTopic.new] end end class NewsController < ApplicationController wsdl_service_name ''news''
2006 Jan 06
6
AWS and array of Model
Hi! I try to use a layered webservice and I want to get back an array of users; In the API I use: api_method :listUsers,:returns=>[[User]] in the service: def listUsers User.find(:all) end Result in soap mode: Don''t know how to cast TrueClass to Object Result in XML-RPC mode: You have a nil object when you didn''t expect it! You might have expected
2006 Jan 13
4
Single Table Inheritance (this is my 3rd post :( )
Hi Everyone, I hope I get some feedback on my question. Here it goes. I have a situation here, I have a company table and then using Single Table inheritance it is of 3 types: class Company < ActiveRecord::Base end class Vendor < Company end class Customer < Company end class Agent < Company end Now I have a active record Association class QuoteSheet < ActiveRecord::Base
2006 Apr 21
8
web services and dealing with before_filter
Hi all, I''ve got a Rails app with a ApplicationController that looks like this: class ApplicationController < ActionController::Base before_filter :authorize, :except => :login def authorize unless session[:user] flash[:notice] = "Please log in" session[:jumpto] = request.parameters redirect_to :controller =>
2007 Dec 13
3
Realise a web service with ruby on rails.
Hi , I want realize a web service with rails, but it''s the response it''s very slow. I want only saw all element present in my base. I did a base Customers (with element like id, name, phone,...). I added two elements. I did a model customer, a web_service customer. In the file /app/apis/customer_api.rb class CustomerApi < ActionWebService::API::Base api_method :listid,
2006 Apr 14
8
Error with Web Service tests after upgrading to Rails 1.1.2
Hello. I hope this is the right place to describe my problem ? After upgrading to Rails version 1.1.2 from rails version 1.0.0, Web Service functional tests seem broken. I upgraded rails (as the root user / administrator) with: # gem update rails --include-dependencies then I upgraded my application (as myself) with: ? rake rails:update % rake rails:update:configs After these steps,
2006 Dec 01
3
Sessions in Layered Dispatching
Can you use sessions in layered dispatching? I used them in direct dispatching without any problems, but switching to layered throws an error (saying session doesn''t exist). Sorry if this is a double post, Google Groups isn''t posting my message for some reason. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this
2004 Nov 02
0
problem with profiles
hi, i've stup samba 3 as a PDC with ldap as sam backend. everything works as expected - but: the profiles. i've to migrate a w2k pdc to samba. to migrate the profiles i've copied them using "profiles" at he "my computer" proerties. at the first sight it seems to work but my problem is that the profiles oviousely are not writen back to the server at the end of a
2002 Sep 07
0
And the winner is... (C't audio-codec test)
Salve, the German IT-Magazin (#1) www.heise.de/ct has made an audio-codec test online. The reader were asked to download 2 x 7 audiofiles, listen to them and rank them (As I wrote before) http://www.xiph.org/archives/vorbis/200208/0185.html The 7 files have been Wave, MP3, MP3Pro, AAC, Ogg Vorbis, WMA, RealAudio in 64kBit/s and 128kBit/s for a stereo sample of 3 genres: pop, jazz, classic. The
2004 Oct 19
4
File isn't in mbox format - error
HI, I recently upgraded an wu-imap server to dovecot dovecot-0.99.11-1.FC3.3 without big trouble (the subscribed mailboxes had to be added by hand...) But today users told me that there where some problems; e.g. a user tried to delete a message and got this error: Oct 19 09:43:13 mail imap(jmeinken): File isn't in mbox format: /home/mitarbeiter/jmeinken//Trash This didn't happen
2006 Feb 28
2
Authentication on delegated web service methods -or- How the heck do I protect these things?
I need to restrict access to only certain parts of a web service I''m building. Instead of requiring a client to submit their user/pass with each interaction I''d like to login them in once (currently using acts_as_authenticated in the rest of the site) and not have to fuss with it again during that session. Only problem is I can''t use AAA on an ActionWebService
2006 Jun 05
3
Best practices with Web Services
Hello-- I''m investigating the API facet of my site and wanted to ask a couple questions: 1. The Agile book describes adding an API using the web_services generator which adds stuff to app/api. In Rails 1.1, Jamis added some wants.xml stuff to the controller code which also allows API generation. Which is better to use now? Do they mutually exclude one another? 2. In some cases, I