Sha256: 7d0af339ba1cd016140b1342d83a2e8f976093774c68c8ef006d9b8b26aecd7d

Contents?: true

Size: 146 Bytes

Versions: 7

Compression:

Stored size: 146 Bytes

Contents

require 'acts_as_indexed'

begin
  Refinery::User.class_eval do
    searchable do
      text :username, :email
    end
  end
rescue NameError
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
refinerycms-solr-1.0.9 app/decorators/models/refinery/user_decorator.rb
refinerycms-solr-1.0.8 app/decorators/models/refinery/user_decorator.rb
refinerycms-solr-1.0.7 app/decorators/models/refinery/user_decorator.rb
refinerycms-solr-1.0.6 app/decorators/models/refinery/user_decorator.rb
refinerycms-solr-1.0.4 app/decorators/models/refinery/user_decorator.rb
refinerycms-solr-1.0.3 app/decorators/models/refinery/user_decorator.rb
refinerycms-solr-1.0.1 app/decorators/models/refinery/user_decorator.rb