search for: clientcontroller

Displaying 4 results from an estimated 4 matches for "clientcontroller".

2007 Dec 13
3
Realise a web service with ruby on rails.
...r'' web_service_scaffold :invoke def listid(id) Customer.find(id) end def listall Customer.find(:all).map{ |customer| customer.id } end end I finished my server web_service. I realised a client I generated a controller client /app/controller/client_controller.rb class ClientController < ApplicationController web_client_api :customer, :soap, "http://localhost:3000/customer/api" def list customer.listall.map do |id| @customers = customer.listid(id) end end end But when I do http://localhost:3000/cli...
2005 Dec 19
6
how to do security??
hey, i have maded some security in my website based on http://www.chaconforcongress.com/accounts/login Here they work with users, roles and persmission, and they check it like this, user.has_permission(permission). I have extended this to: users and groups with roles and permissions. With permissions like "view records","edit records","delete records",... def
2006 Jul 19
1
RoutingError -- but only for one controller
This one has had me stumped all morning, so any ideas would be a big help. I''m getting the following error for any request to one of my controllers, ''client'': ActionController::RoutingError (Recognition failed for "/client/new"): /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/routing.rb:488:in `recognition_failed''
2009 Oct 13
2
Mac R spinning wheel with Package Manager (PR#14005)
...licationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib 1550d000 /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera 157c3000 /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/ClientController.bundle/Contents/MacOS/ClientController 157e4000 /System/Library/PrivateFrameworks/EAP8021X.framework/Versions/A/EAP8021X 15814000 /Applications/iCal.app/Contents/Resources/iCalDockExtra.bundle/Contents/MacOS/iCalDockExtra 15a4f000 /System/Library/PrivateFrameworks/Interne...