Displaying 2 results from an estimated 2 matches for "ajax_markdown_preview".
2006 Jan 05
0
render :partial, accentuated characters and Ajax preview
...- they are still correct when they reach the ''preview'' controller
, I guess "render :partial" is the culprit.
Is there a way to tell render how to render text? I didn''t find it in
the doc.
Any idea?
TIA
Alain Ravet
[1]: based on http://railsdiary.com/diary/ajax_markdown_preview
--
Posted via http://www.ruby-forum.com/.
2007 Dec 14
3
Preview Message Before Saving?
Hi all,
I''m sure this is really simple, but I can''t seem to figure it out. I
want to let users preview their messages before submitting. Something in
the form of:
def new
@post = Post.new
end
def preview
#preview message text here
#@post = Post.new(params[:post]) <--?
end
def create
#save message on user''s confirmation
...
@post.save
end
Have any