search for: vbsql7

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

Did you mean: b3ql7
2006 Jul 30
3
Accessing @org.id yields internal number, not record id
With apologies, I can''t figure out the simplest thing: How to reference a record id instead of the internal memory location of that value. I''m new to Ruby but otherwise a veteran VB6/SQL programmer. My code: <snip> sSQL = "SELECT id, org_name FROM organizations WHERE user_id = ''#{sUserId}'' AND user_password =
2006 Aug 02
1
Object is populated but attributes are unavailable
Will someone please tell me why this code... -------------------------------------------- def test org = Organization.find(1) write_log("Org: #{org.inspect}") write_log("Org name: #{org.org_name}") end ---------------------------------------------- ...is returning the blank org_name below? Am I accessing the object''s attribute wrong?