Hello.

Im trying to fetch a value from a field in our database, using this
code.

selected = @site.db.select("select car from car_sale where id=402 AND
email='a1 / a.com'")

But this throws the errormessage.
RemoteDatabase::Error: invalid environment

Does anybody knows how to get a value properly from the db?

Kind regards
-Erik
-- 
Posted via http://www.ruby-forum.com/.