aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-02-02 10:11:00 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-02-02 10:11:00 -0800
commitcd3bdb388b04451c740ac09f748a2ec711f344ef (patch)
tree395ecb91e0acef377af8a94496aac0158a6ceadb /activerecord/lib/active_record
parent55686ae5c9d1bfd30006443b9fa83e4a016280a1 (diff)
parent37ce852c51af9268910d1f69ab2a884962e97701 (diff)
downloadrails-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.rb2
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|