diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-03-26 04:13:25 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-03-26 04:13:25 +0000 |
commit | a5991d849175c2ae9b803486f61b610fad9fd87e (patch) | |
tree | 3986d7a3ecb80497bd9ec9f72100de4e6bc47cc6 /activerecord/test | |
parent | 56af14d5aaa0f052d0abe0e06f60b23167c869ff (diff) | |
download | rails-a5991d849175c2ae9b803486f61b610fad9fd87e.tar.gz rails-a5991d849175c2ae9b803486f61b610fad9fd87e.tar.bz2 rails-a5991d849175c2ae9b803486f61b610fad9fd87e.zip |
Change periods (.) in table aliases to _'s. Closes #4251 [jeff@ministrycentered.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/adapter_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/adapter_test.rb b/activerecord/test/adapter_test.rb index 93e1ca973b..3da1bf3e54 100644 --- a/activerecord/test/adapter_test.rb +++ b/activerecord/test/adapter_test.rb @@ -57,6 +57,7 @@ class AdapterTest < Test::Unit::TestCase assert_equal 'posts', @connection.table_alias_for('posts') assert_equal 'posts_comm', @connection.table_alias_for('posts_comments') + assert_equal 'dbo_posts', @connection.table_alias_for('dbo.posts') class << @connection alias_method :table_alias_length, :old_table_alias_length |