similar to: acts_as_blog

Displaying 20 results from an estimated 300 matches similar to: "acts_as_blog"

2006 May 26
1
access a ActionControllers protected method from plugin?
I can''t belive I fit that in as the subject! I''m writing a plugin that will allow me to grab some text from a database and call the render method from ActionController on part of the text. I can''t seem to figure out how to access the render method of ActionController::Base. I keep getting the "uninitialized constant Execute" error. How can I do this?
2006 May 26
8
calling render_to_string outside of controller
How can I call render_to_string outside of a controller. I''m stuck on this. I''ve nearly got my plugin finished but I can''t seem to get this to work. The method is in ActionController::Base but it is protected. -- Posted via http://www.ruby-forum.com/.
2006 Jun 28
0
PHP SmartyPants Typographer 1.0b2
As I stated before, I had in the work a utility to control spaces around punctuation and at some other places. Now, I've integrated it, with a few extra quote goodies, within PHP SmartyPants, as an extension just like PHP Markdown Extra extends PHP Markdown. And so appeared SmartyPants Typographer (announcement on my weblog)
2006 May 19
1
Object-Oriented PHP Markdown/SmartyPants
This is something that I've been asked for many times. So today I'm announcing that all future versions of PHP Markdown and PHP SmartyPants will be encapsulated in a parser class. This has two major benefits: 1. It should make extensions to the syntax easier to create and maintain as it is now possible to now extend the parser by replacing (overriding) only the relevant
2007 Aug 30
2
Markdown, SmartyPants and Wordpress?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm redesigning my site and considering moving from Movable Type to WP, but many of my entries are in Markdown. I really, really like Markdown and SmartyPants. I've not used Textile much, but Markdown feels more natural to me; also, I love SmartyPants because I'm a stickler for curly quotes. I understand there's a Markdown
2009 Oct 22
3
Order of Markdown and SmartyPants filters (was: Re: Markdown Support in Drupal6.14?)
2009/10/20 Lou Quillio <public at quillio.com> > On Mon, Oct 19, 2009 at 3:20 PM, AJG Baeumel > <ajgb at st-maurices.n-lanark.sch.uk> wrote: > > Why is Marksmarty no longersupported in Drupal 6.14? > > It's been a while since I've worked with Drupal, but I remember that > MarkSmarty was really just a hybrid convenience filter. It's better to > apply
2007 Dec 05
1
[patch] Headers, unresolved footnotes, and fractions
Hi folks, thanks for the useful code! I've added some functionality to PHP Markdown Extra and PHP SmartyPants. Diffs attached. For PHP Markdown Extra: *A new config option, MARKDOWN_HEADER_BASE, which sets the largest header level that Markdown can generate and defaults to 1; useful if you use <h1> for site-wide elements and want Markdown-generated headers to start at
2007 May 21
0
PHP Markdown 1.0.2b8 & Extra 1.1.3b1
Bug fixes for PHP Markdown & Extra, available as beta version for now. You can download them from these URLs. <http://www.michelf.com/docs/projets/php-markdown-1.0.2b8.zip> <http://www.michelf.com/docs/projets/php-markdown-extra-1.1.3b1.zip> One noticeable change in these releases is that PHP Markdown now outputs numeric character references for escaped characters (like
2007 Jul 03
0
PHP Markdown 1.0.1g & Extra 1.1.3
This is a bug-fix release for PHP Markdown and PHP Markdown Extra. It's almost identical to version 1.0.2b8, minus the new features introduced in the 1.0.2 betas (shortcut links, markdown attribute support for plain PHP Markdown), plus a few minor improvements. You can download PHP Markdown & Extra from the project page: <http://www.michelf.com/projects/php-markdown/> Here
2006 May 03
1
SmartyPants 1.6 multiply remarks
Michel Fortin <michel.fortin@michelf.com> wrote on 2/13/06 at 6:13 PM: > > 4 x 2 -> 4 &times; 2 in EducateExtras, too. > > Which is a great idea. But I'm not sure about how it works currently. > All goes well in these two cases: > > 800x600 > 5 x 5 > > But maybe it's not a so good idea that it also replace the x with a >
2006 Aug 09
0
load_paths on godaddy hosted account
I am trying to get typo to load on my godaddy account. I''ve loaded other home grown apps and they work. I get issues when trying to load libraries from my vendor directory. In my enviroment.rb I have config.load_paths += %W( vendor/rubypants vendor/akismet vendor/redcloth/lib vendor/bluecloth/lib vendor/flickr vendor/syntax/lib vendor/sparklines/lib
2006 Apr 08
2
trouble expiring cached pages
I''m having a bear of a time getting my cached pages to expire. Maybe one of you guys can help me out. I''ll show my sweeper and then my log to show that it "should" be working. class PragmaticSweeper < ActionController::Caching::Sweeper observe Comment def after_save(comment) expire_page(comment.post_id) end private def expire_page(post_id)
2006 Feb 28
0
help with sanitizing html (comments in blog)
I''ve added this method in my model which is called with each save. It does a good job getting rid of html tags and then emplementing RedCloth. I''m very new at blogs so I''m not sure if this is adequate or not for comments. What do you think? I would love to hear if this is safe, unsafe, or just plain bad form. Also, I don''t think that RedCloth is
2012 Jan 13
1
Markdown-Discuss Digest, Vol 106, Issue 4
> The only problem as I see it is that three dashes produce a long dash > and a hyphen rather than an em-dash, although two dashes seem to work > well. But investigating that will have to wait for the morrow! I'm afraid you are confusing two different replies. SmartyPants looks for two hyphens (or tee dashes) and turns them into an em dash. The three dashes is for another
2008 Jan 05
2
replacing " with &quot;
Python-markdown currently replaces all straight quotes (`"`) with the html entity (`&quot;`). Someone recently complained about this in a [bug report][]. As it turns out the quote was the symptom that brought the real problem to light[^1]. In any event, the reporter pointed out that markdown.pl does not replace straight quotes with the html entity. I know John Gruber has mentioned before
2006 Jun 22
1
PDF output
Markdown speaks to a project I've engaged for nearly a decade. Ever since I cobbled up an Apple Newton keyboard to connect to my Pilot 5000, I wanted to type plain text with formatting for later printing. Class notes and such. Once I wrote a complex WordPerfect script using custom markup. For a while I wrote raw TeX, relying on a macro file to simplify things only a little. Upon
2007 Jun 05
1
Tartan wiki parser 0.2.0
Hi all, I'd like to introduce you to the Tartan project (http://tartan.folklogic.net) and get your feedback. It's a Ruby based wiki text parser with the following goals: 1. handle more then one wiki markup but start with Markdown 2. allow mixing-in of markup rules (eg. Markdown + smartypants + tables + wiki links; each as a separate definition) 3. tests and rule
2006 Jan 03
2
Instant Rails 1.0 Release Candidate 1
This release upgrades the included Ruby to version 1.8.4 and will become the final 1.0 release of Instant Rails if no serious problems are found. Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails, Apache, and MySQL, all preconfigured and ready to run. No installer, you simply drop it into the directory of your choice and run it. It does not modify your system environment.
2007 Oct 12
2
Nested lists and blank lines
I have recently begun using Markdown + PHP Md Extra + SmartyPants in the Symphony XML-based CMS. I'm not sure if this is a Symphony question, or one that can be answered here. I hope someone will tell me. :) I've done my best to find an answer in the online documentation, but drawn a blank. When I use nested lists -- it doesn't matter whether <ol> or <ul>, there is always
2006 Jan 05
2
Instant Rails 1.0 Final has been released!
This release is unchanged from release candidate 1 other than to update the version number in the Help>>About dialog. Instant Rails is a one-stop Rails runtime solution containing Ruby, Rails, Apache, and MySQL, all preconfigured and ready to run. No installer, you simply drop it into the directory of your choice and run it. It does not modify your system environment. This release of