search for: gandino

Displaying 3 results from an estimated 3 matches for "gandino".

Did you mean: fandino
2006 Sep 04
9
RMagick Image.read doesn't... read!
I''ve a controller with an action that should read an image file from a specified path and do some operations on it (mainly, resize it). I try to read the image through this line of code (the image is placed in applicationname\public\images. img = Magick::Image.read("world.jpg") The fact is that whenever I open that page, the browser freezes and I have to restart my
2006 Feb 27
12
RedCloth
Is this the prefered method to implement RedCloth in your views. I''m trying to display user input that will sometimes have code references in it. This strips out all tags. I would like for the tags to be displayed but not read as html. Thanks in advance! <%= RedCloth.new(strip_tags(comment.comment),[:filter_html]).to_html %> charlie bowman recentrambles.com -- Posted via
2006 Mar 27
0
Templates
Many of you might probably be familiar with the WordPress template model... Is there a way to have something like that working in RoR? I mean, importing an html file into a Ruby application... Also, always referring to the WP model, is there a way to discover what page you''re browsing? Ie. if it''s an article page, or an archive, or a static page.. so that, for example, the