On Jan 24, 2010, at 4:03 PM, Mark F. wrote:

How would i be able to evaluate actual dryml/html code in text posts,
since hobo automatically casts to string. If this is not possible/
advised, how would i be able to attach images to posts (aka render
binary data)?

Can you be more explicit about what you're looking for? "Text posts" to where exactly? It is possible (although, as I recall, difficult) to evaluate user-supplied DRYML markup. HOWEVER: it is also very, very, very dangerous. DRYML code can contain arbitrary Ruby expressions, so it should be treated as equivalent to Ruby code in terms of security.

On the other hand, the second sentence seems to indicate you've got something else in mind. What exactly do you mean by "attach images to posts"? Perhaps a Paperclip tutorial is what you're looking for?

Hope this helps (sorta).

--Matt Jones

--
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to