Displaying 1 result from an estimated 1 matches for "longitudexlatitudeydistancez".
2006 Sep 27
0
ActiveResource and query string parameters
...as ''Stop'' and calling
Stop.find(1)
works fine, requesting:
/stops/1.xml
but when I try
Stop.find(:all, :longitude => x, :latitude => Y, :distance => Z)
or
Stop.find(:all, {:longitude => x, :latitude => Y, :distance => Z})
The http request is for:
/stops/longitudeXlatitudeYdistanceZ.xml
I''ve spent some time with the ActiveResource code, and it looks like
it won''t support queries like this. Can anyone confirm?
thanks. James.
--
James Stewart : Freelance Web Developer
Work : http://jystewart.net
Play : http://james.anthropiccollective.org
--~--~------...