Sha256: 97ccb72a42abfc3fa3a7954bc5eb08c4c1efa03ae4a34afb613cf51a0c69901c

Contents?: true

Size: 497 Bytes

Versions: 1

Compression:

Stored size: 497 Bytes

Contents

require 'active_record'
require File.dirname(__FILE__)+'/thebes/config_writer'
require File.dirname(__FILE__)+'/thebes/query'
require File.dirname(__FILE__)+'/thebes/sphinx_search'
require File.dirname(__FILE__)+'/thebes/sphinxql/client'
require File.dirname(__FILE__)+'/thebes/sphinxql/query'
require File.dirname(__FILE__)+'/thebes/railtie' if defined?(Rails::Railtie)

module Thebes
end

require 'zlib'
ActiveRecord::Base.class_eval do

  def self.to_crc32
    Zlib.crc32(self.name)
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thebes-0.0.3 lib/thebes.rb