This project is archived and is in readonly mode.
activerecord data not available on first access?
Reported by eydaimon | March 18th, 2010 @ 05:00 PM
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
Comments and changes to this ticket
-
eydaimon March 18th, 2010 @ 05:07 PM
- Title changed from activerecord data not available the first time? to activerecord data not available on first access?
-
eydaimon March 18th, 2010 @ 05:12 PM
It only happens with this model. I tried several other models and was not able to reproduce with them.
-
eydaimon March 18th, 2010 @ 05:17 PM
Please close this ticket... I'd been working with mail stuff and not so wisely had a method called "send" in the Invite model
-
Aaron Patterson March 18th, 2010 @ 05:19 PM
- State changed from new to invalid
Closing as invalid.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>