Sha256: e99c0a4d8b20f462af8fa19db821fd96c62a2e3102dba3378d1f70f9d43c2f6d

Contents?: true

Size: 279 Bytes

Versions: 31

Compression:

Stored size: 279 Bytes

Contents

module Avo
  module Fields
    module Concerns
      module IsSearchable
        extend ActiveSupport::Concern

        def is_searchable?
          defined?(Avo::Pro) && @searchable && Avo.license.has_with_trial(:searchable_associations)
        end
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
avo-3.0.1.beta23 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta20 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta21 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta17 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta22 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta18 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta19 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta24 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta15 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta16 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta14 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta12 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta13 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta10 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta11 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.0.pre19 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta8 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta9 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta6 lib/avo/fields/concerns/is_searchable.rb
avo-3.0.1.beta7 lib/avo/fields/concerns/is_searchable.rb