On 12.01.2010 20:40, BlueHandTalking wrote:

> I know that your response is incorrect in regard to
>
>> That would appear to be because find_by_project_id is returning nil,
>> given the code you've shown.
>
> ...because the same exact code works correctly with
> the name being @photo instead of @displayphoto.

*Is* it the exact same code? Do you search for @displayphoto before or 
after doing a #build_photo call? Do you *have* records in your database 
to search for and thus get a result set?

--
Phillip Gawlowski