Displaying 1 result from an estimated 1 matches for "find_all_us".
Did you mean:
find_all_by
2006 May 02
3
web services on the client side
...n file in apis/user_api.rb
Which is the filename for my user api on the server application. I have
this in my controller:
class RemoteInfoController < ApplicationController
web_client_api :user,
:soap,
"http://my_ip_address/server/backend/api"
def list
@users = user.find_all_users.map do |id|
user.find_user_by_id(id)
end
end
def index
end
end
Am I supposed to have a user_api.rb file on the client application too,
or have I just made a mistake?
--
Posted via http://www.ruby-forum.com/.