Skip to content

Commit

Permalink
Adding Alex Caudill to contributors list, slightly tweaking his patch
Browse files Browse the repository at this point in the history
  • Loading branch information
pat committed Jan 21, 2009
1 parent 3893b9a commit f93c1a5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions README
Expand Up @@ -104,3 +104,4 @@ Since I first released this library, there's been quite a few people who have su
- Lourens Naude
- Tom Davies
- Dan Pickett
- Alex Caudill
1 change: 1 addition & 0 deletions README.textile
Expand Up @@ -104,3 +104,4 @@ Since I first released this library, there's been quite a few people who have su
* Lourens Naude
* Tom Davies
* Dan Pickett
* Alex Caudill
5 changes: 2 additions & 3 deletions lib/thinking_sphinx/adapters/abstract_adapter.rb
Expand Up @@ -11,9 +11,8 @@ def setup

def self.detect(model)
case model.connection.class.name
when "ActiveRecord::ConnectionAdapters::MysqlAdapter"
ThinkingSphinx::MysqlAdapter.new model
when "ActiveRecord::ConnectionAdapters::MysqlplusAdapter"
when "ActiveRecord::ConnectionAdapters::MysqlAdapter",
"ActiveRecord::ConnectionAdapters::MysqlplusAdapter"
ThinkingSphinx::MysqlAdapter.new model
when "ActiveRecord::ConnectionAdapters::PostgreSQLAdapter"
ThinkingSphinx::PostgreSQLAdapter.new model
Expand Down

0 comments on commit f93c1a5

Please sign in to comment.