similar to: Comments for a blog

Displaying 20 results from an estimated 1000 matches similar to: "Comments for a blog"

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 May 03
4
default values
Hello, I''m working with a postgresql table CREATE TABLE elements ( id serial primary key, c1 text default f1(), ... cN text default fN() ); But if I use de lines @element = Element.new @element.save the values that element take are the nextval in the id field and nules in all the other fields. How can I get the defaults? (but without rewriting the
2006 Jan 03
18
Trying to do a simple thing ...
Hi ! I was talking to a seasider and he asked me if it was easy to do the following thing using rails : 1) ask a number to the user 2) ask a second number 3) give the addition of the two number and a link to be able to replay All these things have to be done in one controller and one action, there is no need for verification and other stuff. I tried but I''ve got some problems
2006 Jun 01
5
Content Management System
I am looking for a good CMS based on Rails that has at least these attributes: 1. Ease of use ( as it will be used by people who are not html literate) 2. Very easy/flexible to change layout. So far I have looked at http://rcms.oopen.de/Home/ (have not installed it yet) http://adminpages.flowdev.de http://demo.radiantcms.org/admin/pages http://www.eribium.org/eribium/ MuraveyWeb does not seem
2006 Jun 28
2
Saving and reproducing a POST request.
Hi I have an action which saves the originating resource from which it was called, and returns to it later. This is done by setting: session[:return_to] = request.referer ... redirect_to(session[:return_to]) Which works great for GET resources. The problem is that POST variables aren''t kept in request.referer, so this method fails when the originating resource is a a POST.
2009 Jun 10
3
Problems 4.2 installing on Windows?
I keep an old Windows machine around for making sure that RedCloth Win32 binary gems install. When I try gem update RedCloth, it just installs 4.1.9. Did I do something wrong in the gemspec? Would someone else with a windows machine try it and let me know how it goes? Jason
2006 Jun 14
7
CR issue
Hi, I am using RedCloth (3.0.4). First using online text2html (http://www.textism.com/tools/textile/) , "123 456" returns <p>123<br />456</p> But by code: <code> require ''RedCloth'' puts RedCloth.new("123\n456").to_html </code> I got: <p>123 456</p> CR is not taken in consideration. Is there any parameter I am
2008 Oct 31
4
RedCloth 4.1.0 released with JRuby support
Sorry it took me a week to release the JRuby version. I was out sick most of the week. Thanks a million, Ola Bini, for implementing the Java code! Give it a go: Ruby: gem install RedCloth JRuby: jgem install RedCloth Let me know how it goes for you. Jason
2007 Dec 04
2
Bug: NoMethodError: private method `gsub'' called for nil:NilClass
Hi there. I''m using RedCloth as part of a social network''s blog system. I came across the following bug when an img tag with the src attribute is inputted, and filter_html is set to true. I have pasted the code sample below. >> require ''RubyGems'' => true >> require ''RedCloth'' => true >>
2007 Jan 23
7
RedCloth and SuperRedCloth
Good day to the parliament of RedCloth followers gathered here. Grave matters at hand!! I''m personally quite unhappy with the state of RedCloth and am reluctant to release the code in the repository. I can''t say if the code works with any confidence because I can''t generate the (Poignant) Guide with the current RedCloth. I know some things are fixed, but I''m
2008 Mar 15
8
Now what?
> $ rake test > /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/ > rake-0.7.3/lib/rake/rake_test_loader.rb" "test/test_formatters.rb" > "test/test_parser.rb" > Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/ > rake_test_loader > Started >
2011 Jan 13
9
spurious <li> generated when list followed by 3
RedCloth master generates a spurios <li> element when a numbered or undumbered list is followed by three or more newlines. RedCloth.new("* one\n* two\n* three \n\n\n").to_html #=> "<ul>\n\t<li>one</li>\n\t<li>two</li>\n\t<li>three</li>\n</ul>\n<li>" # note extra trailing <li> outside <ul> A colleague
2006 Mar 24
9
Escaping characters
Hi, I am writing some help about post formatting. I am using redcloth to format the text, and in a FAQ, also formatted with redcloth, I explain what to type to what to obtain. So, how could I escape ''*'', ''#'' & Co, to have an output like <redcloth> Type *word* to obtain <strong>word</strong> </redcloth> I tried "Type
2008 May 13
4
hard_breaks issues
Hello, I''m new to this list, so first of all, many thanks to RedCloth''s developers, it really helps me in many ruby apps :-) I post here because I''d like to have a clear view on "hard_breaks" related issues. I saw old references on the web and on the archives on this ML, I''d like a fresh view ! It seems that RedCloth 3.0.4 does not handle
2008 Nov 06
2
redcloth executable removed from gem?
Hello, I have the RedCloth 4.x gem installed on a new machine. I used to use the redcloth command line tool/executable ocassionally. Can anyone clarify if it''s still part of the RedCloth 4.x gem series? Thanks. PS: I checked the sources. And the executable source resides in bin [1]. However, checking the Rakefile that generates the gem package I can''t find any
2006 Apr 10
2
Fix log files
What is the code I include in one of my files so that my log files are easier to read? I am using Windows. Thanks. Seth -- Posted via http://www.ruby-forum.com/.
2006 Apr 15
2
Users authentication & Autorization
Hi, Is there any documentation about this??? any guideline to be started with?? I''m googled a bit, but I can''t find anything relatively serius about this. Hope someone of you have a GURL (Good URL). Thanks :-)
2006 Jun 05
3
possible bug in trunk base.rb? BREAK_RE.
Hello All, first post to the list. I just checked out trunk and it broke my tests. Turns out that the BREAK_RE regex found in base.rb is missing the "/m" mode modifier. I am still getting my head around the library so i may be missing something but was that done on purpose? Thanks. jeremy Index: base.rb =================================================================== --- base.rb
2006 Jan 27
9
RedCloth Hard Breaks
Has anybody gotten :hard_breaks to work with RedCloth? I''m doing: self.body_html = RedCloth.new(self.body).to_html(:textile) which works, except that it doesn''t transform hard breaks to <br /> tags, which is really important for me. However, if I do: self.body_html = RedCloth.new(self.body, [ :hard_breaks ]).to_html(:textile) then it converts ALL breaks into <br
2005 Dec 21
8
textilize - redcloth
Hi, I''m using textilize with redcloth 3.0.4. Everything works best except that paragraphs are not translated as an HTML paragraph When I write something like: *first paragraph* second paragraph the output is without paragraph: *first paragraph* second paragraph Any help??? Thanks Jörg