Ruby 1.9 compat
Ruby 1.9 compat

\#type got removed, use #class

qstream/acts_as_commentable,johnmetta/acts_as_commentable,timboisvert/honesty,SixSafety/acts_as_commentable,jackdempsey/acts_as_commentable