From 7379daad1c73bd3610ed296436250b417ac3673d Mon Sep 17 00:00:00 2001 From: hukl Date: Thu, 10 Feb 2011 14:19:00 +0100 Subject: removed thinking_sphinx plugin and replaced it with gem. also tuned dependencies --- .../thinking-sphinx/features/support/models/post.rb | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 vendor/plugins/thinking-sphinx/features/support/models/post.rb (limited to 'vendor/plugins/thinking-sphinx/features/support/models/post.rb') diff --git a/vendor/plugins/thinking-sphinx/features/support/models/post.rb b/vendor/plugins/thinking-sphinx/features/support/models/post.rb deleted file mode 100644 index 430d17c2..00000000 --- a/vendor/plugins/thinking-sphinx/features/support/models/post.rb +++ /dev/null @@ -1,16 +0,0 @@ -class Post < ActiveRecord::Base - has_many :comments, :dependent => :destroy - has_many :taggings, :as => :taggable - has_many :tags, :through => :taggings - belongs_to :category - - define_index do - indexes subject - indexes content - indexes tags.text, :as => :tags - indexes comments.content, :as => :comments - - has comments(:id), :as => :comment_ids, :source => :ranged_query - has category.name, :facet => true, :as => :category_name, :type => :string - end -end -- cgit v1.3