Sha256: 83267f8c65c4f38a597874c5fe9a8cdf4afb7ad1204dbc06653932737b56712c

Contents?: true

Size: 274 Bytes

Versions: 20

Compression:

Stored size: 274 Bytes

Contents

class PostWithAuto < ActiveRecord::Base
  def self.table_name
    'posts'
  end

  attr_accessible :title, :type, :location_id, :body, :blog

  searchable :ignore_attribute_changes_of => [ :updated_at ] do
    string :title
    text :body, :more_like_this => true
  end
end

Version data entries

20 entries across 20 versions & 4 rubygems

Version Path
sunspot_rails-2.3.0 spec/rails_app/app/models/post_with_auto.rb
sunspot_rails-2.2.8 spec/rails_app/app/models/post_with_auto.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/sunspot_rails-2.2.7/spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.2.7 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.2.6 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.2.5 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.2.4 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.2.3 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.2.2 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.2.1 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.2.0 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.1.1 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.1.0 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.0.0 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.0.0.pre.130115 spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.0.0.pre.120925 spec/rails_template/app/models/post_with_auto.rb
sunspot_solr-2.0.0.pre.120924 sunspot_rails/spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.0.0.pre.120924 sunspot_rails/spec/rails_template/app/models/post_with_auto.rb
sunspot-2.0.0.pre.120924 sunspot_rails/spec/rails_template/app/models/post_with_auto.rb
sunspot_rails-2.0.0.pre.120720 spec/rails_template/app/models/post_with_auto.rb