Sha256: a928236b4d494daaa385e6af6b61167347a4d6c3d704b9721f85d047a5861640
Contents?: true
Size: 528 Bytes
Versions: 38
Compression:
Stored size: 528 Bytes
Contents
require 'features/support/models/tag' require 'features/support/models/tagging' class Developer < ActiveRecord::Base has_many :taggings, :as => :taggable has_many :tags, :through => :taggings define_index do indexes country, :facet => true indexes state, :facet => true indexes tags.text, :as => :tags, :facet => true has age, :facet => true has tags(:id), :as => :tag_ids, :facet => true facet city end end
Version data entries
38 entries across 38 versions & 8 rubygems