Skip to content
Browse files

Merge pull request #9342 from hone/db_migrate_with_database_url

Fix ActiveRecord::ConnectionAdapters::ConnectionSpecification::ResolverTest
  • Loading branch information...
2 parents 82a5432 + 7099194 commit a5bf96ab9b6918af77e8cde5be6e1202e33ac021 @rafaelfranca rafaelfranca committed
View
2 activerecord/lib/active_record/connection_adapters/connection_specification.rb
@@ -97,7 +97,7 @@ def self.connection_url_to_hash(url) # :nodoc:
spec
end
- def type_cast_value(value)
+ def self.type_cast_value(value)
case value
when SIMPLE_INT
value.to_i

0 comments on commit a5bf96a

Please sign in to comment.
Something went wrong with that request. Please try again.