tag:help.lighthouseapp.com,2008-09-20:/discussions/api-developers/15-body-body_html-sometimes-nilLighthouse: Discussion 2011-04-07T05:34:24Ztag:help.lighthouseapp.com,2008-09-20:Comment/109012007-10-10T03:46:13Z2009-06-20T20:56:02Zbody & body_html sometimes nil<div><p>I figured it out myself. My .tickets method uses
Lighthouse::Project.find - which only returns the most recent
version of the ticket. In some cases the tags or state of the
ticket was changing, without any new text - so the body was
nil.<br></p>
<p>What live done is to load the full ticket with
Lighthouse::Ticket.find once I have the ticket number from the
project search above. I can then get to the original body text with
ticket.versions[0].body</p>
<p>Sorry for the noise.</p></div>catwoodtag:help.lighthouseapp.com,2008-09-20:Comment/109012007-10-10T19:05:09Z2009-06-20T20:56:02Zbody & body_html sometimes nil<div><p>This really gets into how Lighthouse is stored on the backend.
Though, I'll likely be changing it really soon since I assume this
is the expected behavior as far as the API goes.</p></div>Rick