aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-05-10 15:46:36 -0700
committerJoe Sak <joe@joesak.com>2011-05-10 15:46:36 -0700
commit18f0f69810c5f72d04c8c106d39c24b6aac0d2ed (patch)
tree754f5ad00f7ff9b0406994be96bc1f39a8d660e4
parent887251e53c048d1e45c5b3367650ca63e123eab9 (diff)
downloadrefinerycms-blog-18f0f69810c5f72d04c8c106d39c24b6aac0d2ed.tar.gz
refinerycms-blog-18f0f69810c5f72d04c8c106d39c24b6aac0d2ed.tar.bz2
refinerycms-blog-18f0f69810c5f72d04c8c106d39c24b6aac0d2ed.zip
Edited app/models/blog_post.rb via GitHub
-rw-r--r--app/models/blog_post.rb2
1 files changed, 1 insertions, 1 deletions
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?