I have the following define_index method:
define_index do indexes content indexes tags.content, :as => :tag_content indexes link.title
has :is_private
has :user_id
has :created_at
end
When I index I get the following error: WARNING: Global access to Rake DSL methods is deprecated. Please include ... Rake::DSL into classes and modules which use the Rake DSL methods. WARNING: DSL method ThinkingSphinx::Index::Builder#link called at /Users/azamtaghipoor/pakrat/Pakrat/app/models/user_post.rb:64:in `block in ' rake aborted! wrong number of arguments (1 for 2)
I've already tried :link, :link:title :link.title and similar variations
without the indexes link.title all works fine. Any help would be much appreciated Thanks, Soheil