search for: johanesen

Displaying 4 results from an estimated 4 matches for "johanesen".

Did you mean: johannesen
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 Feb 23
2
Saving a collection field with <<
I have habtm relationship between articles and contributors. Everything''s working fine, except when I create a new article Rails doesn''t seem to save the contributors that belong to it into articles_contributors. This is the controller (that I pilfered from typo): def new @article = Article.new(params[:article]) [...] if request.post?
2006 Feb 25
7
generating HTML instead of XHTML
After reading http://www.hixie.ch/advocacy/xhtml and having some headaches with IE, I wonder whether helpers can be configured to generate HTML instead of XHTML. -- fxn
2006 Feb 27
0
File_Column: Saving image dimentions in database
I''ve been using file_column for a while and it''s the best thing since sliced bread. But there''s one thing that it doesn''t do that seems like it''d be a pretty useful feature. For an app I''m working on I really need to know the dimensions of the store image in my view (and in general it''s always good to have the dimensions in your