search for: testamonial

Displaying 1 result from an estimated 1 matches for "testamonial".

2008 May 16
3
has_one and find_by_id issue
I have two models: testamonial photo (has_attachement) testamonial has_one photo The issue is when do this: @testamonial = Testamonial.find_all_by_id(id) I get "undefined method `photo'' for" in my browser?? BUT here is the big kicker.... If I do @testamonial = Testamonial.find(:first) everything w...