Forum: Italian Ruby user group Service REST

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Gino M. (Guest)
on 2009-03-16 21:59
Sto provando web services con REST.
ho definito
il modello

class G1Item < ActiveResource::Base = 'http://client:removed_email_address@domain.invalid...


da console se scrivo


mi ritorna il risultato

se faccio per esempio

G1Item.find(:first, :conditions => " licence_id = 50")

e mi blocca il server chiamato?

cosa non ho capito ?

Gino M. (Guest)
on 2009-03-18 19:19
Gino Ma wrote:

Ho capito

G1Item.find :all, :params => { :licence_id => 50 }

grazie lo stesso
This topic is locked and can not be replied to.