module PhatPgsearch

Public Class Methods

init() click to toggle source
# File lib/phat_pgsearch.rb, line 21
def init
  require 'phat_pgsearch/railties'
  ::ActiveRecord::ConnectionAdapters::TableDefinition.send(:include, PostgreSQL::TableDefinition)
  ::ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send(:include, PostgreSQL::SchemaStatements)
  ::ActiveRecord::ConnectionAdapters::PostgreSQLColumn.send(:include, PostgreSQL::PostgreSQLColumn)
  ::ActiveRecord::SchemaDumper.send(:include, PostgreSQL::SchemaDumper)
  ::ActiveRecord::Base.send(:include, ActiveRecord)
end
setup() { |self| ... } click to toggle source

default

# File lib/phat_pgsearch.rb, line 17
def setup
  yield self
end