Sha256: fdbd4a6119e8c568e84bddb341c3d8d4701a1da653a254790b7c2949c1293f1a
Contents?: true
Size: 301 Bytes
Versions: 38
Compression:
Stored size: 301 Bytes
Contents
class Blog < ActiveRecord::Base has_many :posts has_many :comments, :through => :posts searchable :include => { :posts => :author } do string :subdomain text :name end # Make sure that includes are added to with multiple searchable calls searchable(:include => :comments) {} end
Version data entries
38 entries across 37 versions & 10 rubygems