Sha256: cf511ceb6aa655752fc4b4b24065304ac8cf08d32a33dc3539456ffa877075bb

Contents?: true

Size: 244 Bytes

Versions: 16

Compression:

Stored size: 244 Bytes

Contents

class ThinkingSphinx::ActiveRecord::Association
  def initialize(column)
    @column = column
  end

  def stack
    @column.__stack + [@column.__name]
  end

  def string?
    @column.is_a?(String)
  end

  def to_s
    @column.to_s
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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