Module: PhatPgsearch
- Defined in:
- lib/phat_pgsearch.rb,
lib/phat_pgsearch/railties.rb,
lib/phat_pgsearch/postgresql.rb,
lib/phat_pgsearch/active_record.rb,
lib/phat_pgsearch/index_builder.rb,
lib/phat_pgsearch/index_definition.rb
Defined Under Namespace
Modules: ActiveRecord, PostgreSQL Classes: IndexBuilder, IndexDefinition, Railtie
Constant Summary collapse
- @@catalog =
:english
Class Method Summary collapse
Class Method Details
.init ⇒ Object
21 22 23 24 25 26 27 28 |
# 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| ... } ⇒ Object
default
17 18 19 |
# File 'lib/phat_pgsearch.rb', line 17 def setup yield self end |