[typo] revisiting recent articles sidebar (argh!)

Trejkaz trejkaz at trypticon.org
Mon Aug 15 20:26:48 EDT 2005


Quoting Kyle Cooney <kyle.cooney at gmail.com>:
> def content
> @recent = Article.find(:all, :limit => @sb_config['count'], :conditions =>
> ["published == 1"], :order => 'created_at DESC')
> end

Replace the "==" with an "=" and that should work, in theory.

TX


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Typo-list mailing list