Title: Tricky checkbox selection
To find the last index value, I sorted the array to give the largest number. Knowing this I can delete the last user created. The problem is this: When I try to use any of the built in Array methods other than Sergio example, I get the following error:

WIN32OLERuntimeError: Unknown property or method `sort'
    HRESULT error code:0x80020006
      Unknown name.
    C:/Tests/TestSuites/tc_smoketest_suite.rb:93:in `method_missing'
    C:/Tests/TestSuites/tc_smoketest_suite.rb:93:in `test_delete_user
    C:/Tests/TestSuites/tc_smoketest_suite.rb:92:in `each'
    C:/Tests/TestSuites/tc_smoketest_suite.rb:92:in `test_delete_user

 > What am I doing wrong?

Posing a question about your code without letting us see it.  <-gentle joke
 
---Michael B.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to