search for: comment_by

Displaying 2 results from an estimated 2 matches for "comment_by".

Did you mean: comment_52
2006 Jan 04
5
help with link_to_if, I can''t make it work...
...get it to work. Here is an example of my syntax. I''m trying to make comment.name a link to comment.web_site only if there is a comment.web_site. Can someone please help? <%= link_to_if(comment.web_site.length > 0, comment.name, comment.web_site {"class" => "comment_by"}) %> -- Posted via http://www.ruby-forum.com/.
2006 Jan 05
0
Re: help with link_to_if, I can''t make it work..
...syntax. I''m trying to make comment.name a link to >> comment.web_site only >> if there is a comment.web_site. Can someone please help? >> >> <%= link_to_if(comment.web_site.length > 0, comment.name, >> comment.web_site {"class" => "comment_by"}) %> > > > -- > Posted via http://www.ruby-forum.com/. -- mailto:alancfrancis@gmail.com http://blog.alancfrancis.com/