francois / mephisto forked from halorgium/mephisto

A refactored Mephisto that has multiple spam detection engines.

This URL has Read+Write access

francois (author)
Mon Mar 17 19:02:47 -0700 2008
commit  cf11753a6d59fbbfcbd0e063706395ff31600059
tree    99cad4a4e7cbdd79c3c9781008d0ee9d0cbc4451
parent  f1068ff008b7da9263fd9037d1a37b3813e70991
mephisto / app / models / content.rb
100644 9 lines (7 sloc) 0.241 kb
1
2
3
4
5
6
7
8
9
class Content < ActiveRecord::Base
  filtered_column :body, :excerpt
  belongs_to :user, :with_deleted => true
  belongs_to :site
  [:year, :month, :day].each { |m| delegate m, :to => :published_at }
 
  serialize :spam_engine_data, Hash
end