diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-02 10:11:00 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-02-02 10:11:00 -0800 |
commit | cd3bdb388b04451c740ac09f748a2ec711f344ef (patch) | |
tree | 395ecb91e0acef377af8a94496aac0158a6ceadb /activerecord/lib/active_record | |
parent | 55686ae5c9d1bfd30006443b9fa83e4a016280a1 (diff) | |
parent | 37ce852c51af9268910d1f69ab2a884962e97701 (diff) | |
download | rails-cd3bdb388b04451c740ac09f748a2ec711f344ef.tar.gz rails-cd3bdb388b04451c740ac09f748a2ec711f344ef.tar.bz2 rails-cd3bdb388b04451c740ac09f748a2ec711f344ef.zip |
Merge pull request #4853 from rafaelfranca/fix-build-again
columns method doesn't have name argument
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/schema_cache.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/schema_cache.rb b/activerecord/lib/active_record/connection_adapters/schema_cache.rb index 4e8932a695..962718da56 100644 --- a/activerecord/lib/active_record/connection_adapters/schema_cache.rb +++ b/activerecord/lib/active_record/connection_adapters/schema_cache.rb @@ -9,7 +9,7 @@ module ActiveRecord @tables = {} @columns = Hash.new do |h, table_name| - h[table_name] = conn.columns(table_name, "#{table_name} Columns") + h[table_name] = conn.columns(table_name) end @columns_hash = Hash.new do |h, table_name| |