diff options
author | Joe Sak <joe@joesak.com> | 2011-06-30 15:25:22 -0500 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2011-06-30 15:25:22 -0500 |
commit | 6cb45c99639e0b84412483af3edddb62504ed530 (patch) | |
tree | accfd7f3d848199c1a3c67be49f29117dc6ecfe9 /app/models | |
parent | 346584ff422715010d5f84d5a7a0e9f899077421 (diff) | |
download | refinerycms-blog-6cb45c99639e0b84412483af3edddb62504ed530.tar.gz refinerycms-blog-6cb45c99639e0b84412483af3edddb62504ed530.tar.bz2 refinerycms-blog-6cb45c99639e0b84412483af3edddb62504ed530.zip |
just remove this and it's fine, we won't have to remember to use it for future attrs
Diffstat (limited to 'app/models')
-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]) } |