Permalink
Browse files

Tweaks to support rails 3.2

  • Loading branch information...
1 parent 73b7ace commit a61bf05098a86ba3168853701f38e653638bbcf5 Ryan Brunner committed Feb 21, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 .rvmrc
  2. +1 −1 apartment.gemspec
  3. +1 −1 spec/support/apartment_helpers.rb
View
@@ -1 +1 @@
-rvm --create ruby-1.9.2-p180@apartment
+rvm --create ruby-1.9.3@apartment
View
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
- s.add_dependency 'rails', '~> 3.1.2'
+ s.add_dependency 'rails', '>= 3.1.2'
s.add_development_dependency 'rake', '~> 0.8.7'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'rspec', '~> 2.6.0'
@@ -9,7 +9,7 @@ def reset
end
def drop_schema(schema)
- ActiveRecord::Base.silence{ ActiveRecord::Base.connection.execute("DROP SCHEMA IF EXISTS #{schema} CASCADE") } rescue true
+ ActiveRecord::Base.connection.execute("DROP SCHEMA IF EXISTS #{schema} CASCADE") rescue true
end
def create_schema(schema)

0 comments on commit a61bf05

Please sign in to comment.