Rails handling .Erb with Nils

Posted by Chris Beeson on Stack Overflow See other posts from Stack Overflow or by Chris Beeson
Published on 2010-04-25T19:34:42Z Indexed on 2010/04/25 19:43 UTC
Read the original article Hit count: 365

Filed under:
|
|

Hi,

<%= image_tag this.profile.expiring_url(180) %>

keeps giving me grief when profile is nil... what can i do?

Thanks in advance!

© Stack Overflow or respective owner

Related posts about ruby

Related posts about erb