Sha256: abee0f8dc82595884a67a248817c220a97a87c647246cc0e2d85195f5d07f4f1

Contents?: true

Size: 605 Bytes

Versions: 19

Compression:

Stored size: 605 Bytes

Contents

class ThinkingSphinx::ActiveRecord::Attribute <
  ThinkingSphinx::ActiveRecord::Property

  delegate :type, :type=, :multi?, :updateable?, :to => :typist
  delegate :value_for,                           :to => :values

  private

  def typist
    @typist ||= ThinkingSphinx::ActiveRecord::Attribute::Type.new self, @model
  end

  def values
    @values ||= ThinkingSphinx::ActiveRecord::Attribute::Values.new self
  end
end

require 'thinking_sphinx/active_record/attribute/sphinx_presenter'
require 'thinking_sphinx/active_record/attribute/type'
require 'thinking_sphinx/active_record/attribute/values'

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
thinking-sphinx-3.4.2 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.4.1 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.4.0 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.3.0 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.2.0 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.1.4 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.1.3 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.1.2 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.1.1 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.1.0 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.6 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.5 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.4 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.3 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.2 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.1 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.0 lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.0.rc lib/thinking_sphinx/active_record/attribute.rb
thinking-sphinx-3.0.0.pre lib/thinking_sphinx/active_record/attribute.rb