You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed in b8e5e0a. I didn't require AR because I assumed it would be loaded by the test execution overhead. Both approaches would have failed for people who use Rails without AR.
e57ecc6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.connection_config
is a Rails 3 method. For Rails 2 compatibility, you can use.connection_pool.spec.config
Also, shouldn鈥檛 you
require 'active_record'
at the top of the file?e57ecc6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, fixed in b8e5e0a. I didn't require AR because I assumed it would be loaded by the test execution overhead. Both approaches would have failed for people who use Rails without AR.