Did you try Michael's suggestion of adding this to your controller? helper_method :find_first_in_group
This probably isn't the best approach, but you could change line 5 to something like this: <% @image_url = Camera.find_first_group_image(camera.camtype)%> HTH Luke On 2010-10-16, at 7:20 PM, Evanoshki Brataslavainskinski wrote: > Can someone, please, please, pretty please, with sugar and icing on top, > get back to me on this? I know it is going to be something simple.. > Don't mean to be pushy, but I've got a deadline to meet today.. And I am > pulling my hair out.. :-( > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

