Sha256: e34b647dfb9c3bb108a909f1e8f0cde51b646ecc5034e26d965e7c3c23f20fc9

Contents?: true

Size: 142 Bytes

Versions: 51

Compression:

Stored size: 142 Bytes

Contents

# Table fields for 'categories'
# - id
# - name

class Category < ActiveRecord::Base
  has_many :books
  acts_as_solr :include => [:books]
end

Version data entries

51 entries across 51 versions & 9 rubygems

Version Path
honkster-acts_as_solr-0.1.0 test/models/category.rb
honkster-acts_as_solr-0.2.0 test/models/category.rb
honkster-acts_as_solr-0.2.1 test/models/category.rb
honkster-acts_as_solr-0.2.2 test/models/category.rb
honkster-acts_as_solr-0.2.3 test/models/category.rb
honkster-acts_as_solr-0.2.4 test/models/category.rb
honkster-acts_as_solr-0.2.5 test/models/category.rb
honkster-acts_as_solr-0.3.4 test/models/category.rb
jbasdf-acts_as_solr-0.3.3 test/models/category.rb
jbasdf-jbasdf-acts_as_solr-0.4.0 test/models/category.rb
jbasdf-muck-solr-0.4.0 test/models/category.rb
jbasdf-muck-solr-0.4.1 test/models/category.rb
jbasdf-muck-solr-0.4.2 test/models/category.rb
onemorecloud-websolr-rails-1.1.1 test/models/category.rb
onemorecloud-websolr-rails-1.3.3 test/models/category.rb
onemorecloud-websolr-rails-1.4.0 test/models/category.rb
onemorecloud-websolr-rails-1.4.1 test/models/category.rb
acts_as_solr_reloaded-1.6.0 test/models/category.rb
muck-solr-3.0.1 test/models/category.rb
muck-solr-3.0.0 test/models/category.rb