Displaying 1 result from an estimated 1 matches for "limit_article_display".
2006 May 27
0
Typo 1055 created_at Vs. published_at
...> anchor,
            :only_path => only_path)
  end
The above fixes the "post not found" when a published_at date is changed 
in the admin interface.
app/controllers/articles_contoller.rb
line 19
def index
    @pages, @articles =
      paginate(:article, :per_page => this_blog.limit_article_display,
               :conditions =>
                 [''published = ? AND contents.created_at < ? AND blog_id 
= ?'',
                             true,            Time.now, 
this_blog.id],
               #:order_by => "contents.created_at DESC",  - Changed to 
publish...