Skip to content

Commit

Permalink
explicitly require postgres adapter (fixes combustion issues)
Browse files Browse the repository at this point in the history
  • Loading branch information
fschwahn committed Jan 26, 2012
1 parent beef7bd commit 3160e2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
source :rubygems

gemspec
# fix for failing tests with combustion 0.3.1 and rails 3.2.0
gem "rails", "~> 3.1.0"
2 changes: 2 additions & 0 deletions lib/activerecord-postgres-array/activerecord.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'active_record/connection_adapters/postgresql_adapter'

module ActiveRecord
class ArrayTypeMismatch < ActiveRecord::ActiveRecordError
end
Expand Down
2 changes: 1 addition & 1 deletion spec/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
article.languages.should == ["\\","\""]
end
end

describe ".update" do
before(:each) do
@article = Article.create
Expand Down

0 comments on commit 3160e2e

Please sign in to comment.