similar to: Red Cloth HTML not allowed

Displaying 20 results from an estimated 110000 matches similar to: "Red Cloth HTML not allowed"

2006 Apr 27
2
Red cloth
what is the require I must put in my enviremnt to use red cloth? -- Posted via http://www.ruby-forum.com/.
2006 Aug 13
3
escape block using red cloth
Hi all, Is it possible to configure red cloth to escape a block such as: ------------------------------------------------------------------ Hello, _this_ works *beautifull* [code lang="ruby"] def foo bar end [/code] ------------------------------------------------------------------ The text in the [code] block should not be parsed by Red Cloth''s to_html method. I cannot
2006 Apr 26
7
Not updating
I copied the scaffolding edit and update and made it like this, Note: awnser is edit. Admin_contoller.rb def awnser @question = Question.find(params[:id]) end def update @question = Question.find(params[:id]) if @question.update_attributes(params[:question]) flash[:notice] = ''Question was successfully updated.'' redirect_to :action => ''list''
2006 May 05
0
Login generator ALWAYS says login unsuccessfull
I''m having a similar problem running Radiant CMS. I set ROR and the mysql database as instructed but when I try to login with the default admin login I get the same result as Mohammed. Below is the output from my log, which is very similar to what he is seeing, along with what I believe is the hashed password stored in MySQL. The two values don''t match. I don''t
2006 May 04
6
Login generator ALWAYS says login unseccesfull
Hey I just ran this "ruby script/generate login loging_in" here is my SQL: CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `user_name` varchar(80) default NULL, `login` varchar(120) NOT NULL default '''', `last_update` timestamp NOT NULL default ''0000-00-00 00:00:00'', `last_attack` timestamp NOT NULL default ''0000-00-00
2007 Jan 28
1
^SUPER^ _RED_ ~CLOTH~ 1.153
New gems (source and win32): gem install superredcloth --source http://code.whytheluckystiff.net Use it like: SuperRedCloth.new("_huh?_").to_html Okay, getting close! A lot more tests are passing. There are still about 50 tests failing. Most of these are due to ol/ul list problems. Here''s what''s still broken: * Options (:hard_breaks, :filter_html, etc.) *
2006 Mar 07
6
Anybody use Red|Blue Cloth?
Does anybody use and prefer Redcloth (or bluecloth, which appears to be alpha)? Does it affect performance much? Is there a way to get it to automatically process templates without having to call textilize? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2006 Mar 09
0
Sending files other than html via Actionmailer
I''ve been trying to set up to send already generated PDF''s via the ActionMailer class however it dosn''t seem to send the full file. So when I try to load the file after being sent it via email it dosn''t because it is corrupt. When I choose to send HTML instead it sends fine but it dosn''t work with Word Documents either Do I need to do anything special
2006 Apr 27
4
Up-dates
I started working on a chat program but, I''m having this problem chatroom.rhtml <div id="chatroom"> </div> <%= periodically_call_remote( :update => "chatroom", :url => {:action => :chat }, :frequency => 2) %> chat.rhtml <h1><%= @chat.room %> room.</h1>
2006 Mar 29
8
Action Mailer
Does anyone know where I can download an demo app of action mailer. I''ve looked every where. I''ve also done the tuts. but, they don''t work for me. Thanks... -- Posted via http://www.ruby-forum.com/.
2006 May 03
11
Curse words
Hello, I just had a problem with someone cusing on my rail app now is there somthing like Red Cloth that I can use to disable ''dirty words'' -- Posted via http://www.ruby-forum.com/.
2006 Mar 08
4
Sending Documents via ActionMailer
Hi, I''ve been trying to set up to send already generated PDF''s via the ActionMailer class however it dosn''t seem to send the full file. So when I try to load the file after being sent it via email it dosn''t because it is corrupt. When I choose to send HTML instead it sends fine but it dosn''t work with Word Documents either Do I need to do anything
2006 Apr 21
2
Action Mailer E-Mail
Two qs: 1. Does AM have to use a real e-mail addr? 2. Where can I get a free e-mail addr that has POP without SSL? -- Posted via http://www.ruby-forum.com/.
2006 Nov 04
0
@article.article_groups.delete_if... Dosn''t work!
If I try: @article.article_groups.delete_if {|x| x.group_id == x.group_id } It does nothing. If I try: articletmp.article_groups.each{ |x| @article.article_groups.delete(y) } It deletes some of the groups. @article.article_groups.clear works. Why dosn''t the to first examples work as expected?? Do I have to put groups I don''t want to
2006 Apr 27
12
Stealing users IP address
Is there a functiaon to take the IP address of person who submits to a form example: <input id="user_ip" name="user[ip]" type="hidden" value="<%= some_ip_call %>" /> -- Posted via http://www.ruby-forum.com/.
2006 May 10
7
AJAX effects
I was at http://rails.techno-weenie.net/ and I like what ajax does when you click on "login" how can I do this on my own website? Is this with the defualt JS libary? -- Posted via http://www.ruby-forum.com/.
2006 May 27
2
Error, in my store provider.
Let me explain the subject title, store provider is Hackey, he''s a NPC that sells items to my users. <h1>Welcome to Hackey''s!</h1> <h3>Catalog</h3> <table border="2" bordercolor="red"> <% for items in @items -%> <% temp12 = Item.find(items.item_id) -%> <tr><td><%= @temp12.name
2007 Jul 26
3
tc filter not work, why?
I try to use tc on mips with linux-2.4.18 but the u32 filter dosn''t work I added htb qdisc to linux-2.4.18 and use it to limit the speed in LAN, it only work well on the default class, for example tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1:0 classid 1:1 htb rate 2000kbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate 500kbit ceil 500kbit
2006 Sep 25
2
@article.article_groups.delete_if... Dosn't work!
If I try: @article.article_groups.delete_if {|x| x.group_id == x.group_id } It does nothing. If I try: articletmp.article_groups.each{ |x| @article.article_groups.delete(y) } It deletes some of the groups. @article.article_groups.clear works. Why dosn''t the to first examples work as expected?? Do I have to put groups I don''t want to
2006 May 11
9
Undoing a SHA1
Hello for my password recovery system I want to recover the users password and send it to them. In the DB its saved via SHA1 (login generator) -- Posted via http://www.ruby-forum.com/.