Pavling, thanks for the repy! I've been stuck on this bug all morning...

So I'm trying to understand how to get this working based on your 
suggestion.

Here's the flow:

My controller calls html_format(comment.content) which is inside of the 
application helper

html_format, then calls simple_format. This only errors when there is an 
email in comment.content. If there is a link or just plain text it works 
just fine.

Given that, can you help me understand your suggestion on how to resolve? 
Thank you!

-- 
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to