Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Bo Kirkeby's latest activity

Sunday, July 18 2010
25 #find_model does not use label to find the model was updated in pickle
  • Bo Kirkeby
    Bo Kirkeby commented at 11:02 AM

    Alright, I guess I misunderstood the intent of #find_model.

    Do you think it is wrong to test non-existence of a model using a label instead of by attributes?
    I ...

Saturday, July 17 2010
25 #find_model does not use label to find the model was updated in pickle
  • Bo Kirkeby
    Bo Kirkeby commented at 7:42 PM

    Yeah, #model works great. I was trying to do something like:

    Given a user: "Fred" exists
    When I delete the user: "Fred"
    Then the user: "Fred" should not exist
    
    ...
  • Bo Kirkeby
    Bo Kirkeby created the ticket at 6:45 PM
    create_model 'user: "Frank"'
    create_model 'user: "Fred"'
    find_model 'user: "Fred"' # => Finds user: "Frank" because he was created first.
    

    I am assuming that i...