Skip to content

Commit

Permalink
just remove this and it's fine, we won't have to remember to use it f…
Browse files Browse the repository at this point in the history
…or future attrs
  • Loading branch information
joemsak committed Jun 30, 2011
1 parent 346584f commit 6cb45c9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/blog_post.rb
Expand Up @@ -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])
}
Expand Down

0 comments on commit 6cb45c9

Please sign in to comment.