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.

This project is archived and is in readonly mode.

activerecord data not available on first access?

#4216
Loading development environment (Rails 3.0.0.beta)
ruby-1.9.1-p378 > i = Invite.find(20)
 => #<Invite id: 20, user_id: 3, signedup_user_id: nil, email: "tank@gupp.com", created_at: "2010-03-17 16:48:14", updated_at: "2010-03-17 16:48:14"> 
ruby-1.9.1-p378 > i.created_at
 => nil 
ruby-1.9.1-p378 > i.created_at
 => Wed, 17 Mar 2010 16:48:14 UTC +00:00

Let me know if any more data is needed

Reported by eydaimon · March 18th, 2010 @ 05:00 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. eydaimon
    eydaimon
    • Title changed from activerecord data not available the first time? to activerecord data not available on first access?

    March 18th, 2010 @ 05:07 PM

  2. eydaimon
    eydaimon

    It only happens with this model. I tried several other models and was not able to reproduce with them.

    March 18th, 2010 @ 05:12 PM

  3. eydaimon
    eydaimon

    Please close this ticket... I'd been working with mail stuff and not so wisely had a method called "send" in the Invite model

    March 18th, 2010 @ 05:17 PM

  4. Aaron Patterson
    Aaron Patterson
    • State changed from new to invalid

    Closing as invalid.

    March 18th, 2010 @ 05:19 PM