search for: justinj

Displaying 2 results from an estimated 2 matches for "justinj".

Did you mean: justin
2006 Mar 28
11
ActionWebService date casting error
I have defined a web service to return information from a database as follows. class BackendApi < ActionWebService::API::Base api_method :find_all_vobs, :returns => [[:int]] api_method :find_vob_by_id, :expects => [:int], :returns => [Vob] class BackendController < ApplicationController wsdl_service_name ''Backend''
2006 Feb 23
8
SQL quoting for :order parameter
When I construct a query using variables I do something like this: @users = User.find(:all, :conditions => ["location = ?", location]) I would like to do the same sort of thing in the :order parameter. @users = User.find(:all, :order => ["? ASC", location]) When I try this though I get a SQL error and I see that the items in the array were concatenated together and