From 18f0f69810c5f72d04c8c106d39c24b6aac0d2ed Mon Sep 17 00:00:00 2001 From: Joe Sak Date: Tue, 10 May 2011 15:46:36 -0700 Subject: Edited app/models/blog_post.rb via GitHub --- app/models/blog_post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/blog_post.rb b/app/models/blog_post.rb index b738018..63c66ba 100644 --- a/app/models/blog_post.rb +++ b/app/models/blog_post.rb @@ -3,7 +3,7 @@ require 'seo_meta' class BlogPost < ActiveRecord::Base - is_seo_meta + is_seo_meta if self.table_exists? default_scope :order => 'published_at DESC' #.first & .last will be reversed -- consider a with_exclusive_scope on these? -- cgit v1.2.3