forked from twshelton/activerecord-sqlserver-adapter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New profile rake task that looks for any qualified file. Organize key…
… schema statement methods to be key/symbol agnostic so underlying raw connection returns can optionally return rows of hashes in either.
- Loading branch information
1 parent
68de6ca
commit f3439ee
Showing
5 changed files
with
57 additions
and
30 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
require 'profile/helper' | ||
require 'models/topic' | ||
require 'models/reply' | ||
|
||
class FinderProfileCase < ActiveRecord::TestCase | ||
|
||
fixtures :topics | ||
|
||
def test_find_all | ||
ruby_profile :finder_find_all do | ||
1000.times { Topic.all } | ||
end | ||
end | ||
|
||
|
||
end | ||
|
||
|