aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/pet.rb
diff options
context:
space:
mode:
authorPaul Gallagher <gallagher.paul@gmail.com>2011-06-09 09:47:01 +0800
committerPaul Gallagher <gallagher.paul@gmail.com>2011-06-10 21:52:25 +0800
commit5c7f8c929b228063b224eaa17360dcc105788296 (patch)
tree407227571376446ff6521106eedefc8c3e5aa2a8 /activerecord/test/models/pet.rb
parent8eb2b519f267e61edcf1e715489c3c9ac0244d81 (diff)
downloadrails-5c7f8c929b228063b224eaa17360dcc105788296.tar.gz
rails-5c7f8c929b228063b224eaa17360dcc105788296.tar.bz2
rails-5c7f8c929b228063b224eaa17360dcc105788296.zip
Improve PostgreSQL adapter schema-awareness
* table_exists? scoped by schema search path unless schema is explicitly named. Added tests and doc to clarify the behaviour * extract_schema_and_table tests and implementation extended to cover all cases * primary_key does not ignore schema information * add current_schema and schema_exists? methods * more robust table referencing in insert_sql and sql_for_insert methods
Diffstat (limited to 'activerecord/test/models/pet.rb')
0 files changed, 0 insertions, 0 deletions