Addresses undefined local variable or method `connection' error #8292

Closed
wants to merge 1 commit into
from

3 participants

@yahonda

This commit addresses following error since 48a0357 merged.

  1) Error:
test_create_join_table_with_symbol_and_string(CopyMigrationsTest):
NameError: undefined local variable or method `connection' for #<CopyMigrationsTest:0x00000003df56a8>
    test/cases/migration_test.rb:760:in `test_create_join_table_with_symbol_and_string'
@yahonda yahonda Addresses undefined local variable or method `connection' error
This commit addresses following error since 48a0357 merged.

```
  1) Error:
test_create_join_table_with_symbol_and_string(CopyMigrationsTest):
NameError: undefined local variable or method `connection' for #<CopyMigrationsTest:0x00000003df56a8>
    test/cases/migration_test.rb:760:in `test_create_join_table_with_symbol_and_string'
```
204846d
@steveklabnik
Ruby on Rails member

Seems good, though I don't know if there's someting better.

@carlosantoniodasilva
Ruby on Rails member

Ops, I think I've changed that already in 96106a1 without seeing your pull request. Thanks @yahonda.

@yahonda

Thanks! your fix is much better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment