oasic/nbayes — pull request #2 by jasonlfunk (2012-07-11 21:14:06+00:00)
Title: Make NBayes class serializable with Rails

These commits lets the class be able to be (un)serialized by ActiveRecord automagically.

class Test < ActiveRecord::Base
attr_accessible :nbayes
serialize :nbayes, NBayes::Base.new

end