app/models/ems/news.rb in ems-0.0.6 vs app/models/ems/news.rb in ems-0.0.7

- old
+ new

@@ -2,17 +2,17 @@ class News < ActiveRecord::Base # use friendly_id to handle our slugs extend FriendlyId friendly_id :title, use: :slugged - searchable do - text :title, :stored => true - text :standfirst, :stored => true - text :content, :stored => true, :more_like_this => true do - Sanitize.clean self.content_as_html - end - integer :category_id, :references => Category - end + # searchable do + # text :title, :stored => true + # text :standfirst, :stored => true + # text :content, :stored => true, :more_like_this => true do + # Sanitize.clean self.content_as_html + # end + # integer :category_id, :references => Category + # end # after methods after_initialize :init # Validators