diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-02-20 08:27:51 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-02-20 08:27:51 -0800 |
commit | a5bf96ab9b6918af77e8cde5be6e1202e33ac021 (patch) | |
tree | 5372d9625ad2fdf7ea8d101b63167f9d5575f8cb | |
parent | 82a54324f615ae999c811b67701fd269b54d9fe4 (diff) | |
parent | 70991945ccdaf0a6839ba8e68bc95f90e695c8b5 (diff) | |
download | rails-a5bf96ab9b6918af77e8cde5be6e1202e33ac021.tar.gz rails-a5bf96ab9b6918af77e8cde5be6e1202e33ac021.tar.bz2 rails-a5bf96ab9b6918af77e8cde5be6e1202e33ac021.zip |
Merge pull request #9342 from hone/db_migrate_with_database_url
Fix ActiveRecord::ConnectionAdapters::ConnectionSpecification::ResolverTest
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/connection_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/connection_specification.rb b/activerecord/lib/active_record/connection_adapters/connection_specification.rb index 5b60185f53..de418eab14 100644 --- a/activerecord/lib/active_record/connection_adapters/connection_specification.rb +++ b/activerecord/lib/active_record/connection_adapters/connection_specification.rb @@ -97,7 +97,7 @@ module ActiveRecord spec end - def type_cast_value(value) + def self.type_cast_value(value) case value when SIMPLE_INT value.to_i |