diff options
-rw-r--r-- | app/models/blog_post.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/blog_post.rb b/app/models/blog_post.rb index 2126827..ef88f1e 100644 --- a/app/models/blog_post.rb +++ b/app/models/blog_post.rb @@ -26,8 +26,6 @@ class BlogPost < ActiveRecord::Base :approximate_ascii => RefinerySetting.find_or_set(:approximate_ascii, false, :scoping => 'blog'), :strip_non_ascii => RefinerySetting.find_or_set(:strip_non_ascii, false, :scoping => 'blog') - attr_accessible :title, :body, :tag_list, :draft, :published_at, :browser_title, :meta_keywords, :meta_description, :user_id, :category_ids, :custom_url, :custom_teaser - scope :by_archive, lambda { |archive_date| where(['published_at between ? and ?', archive_date.beginning_of_month, archive_date.end_of_month]) } |