diff options
Diffstat (limited to 'vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb')
| -rw-r--r-- | vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb b/vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb new file mode 100644 index 0000000..20392e1 --- /dev/null +++ b/vendor/plugins/thinking-sphinx/features/support/db/postgresql.rb | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | require 'active_record' | ||
| 2 | Database = defined?(JRUBY_VERSION) ? 'jdbcpostgresql' : 'postgresql' | ||
| 3 | require "active_record/connection_adapters/#{Database}_adapter" | ||
