Rails 2.3.5, Ruby EE
Here's STI'd class:
class Group < ActiveRecord::Base
define_index do
indexes name
indexes description_html
has members_count, :sortable => true
has id, :as => :group_id
end
end
and its children:
class Organization < Group
end
class Project < Group
end
And that's it..
On Thu, Jun 17, 2010 at 10:29 AM, Pat Allan <[email protected]>wrote:
> Hi Yaroslav
>
> This is definitely odd... can you show me what your define_index block
> looks like? Also, what version of Rails are you using?
>
>
--
Yaroslav
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.