Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
why does it not matter when you count using the id or name column in the toys table?
Closing because the issue was caused by your query, and once fixed, you passed the kata. Added 3 tests so you can't miss a result field without one of them failing.
id is one of them, isn't it?
Thanks man, no where in the problem was it mentioned the ID was needed to complete it.
I assume the 4kyu rank was given for the complexity of both instructions AND tests.
Prolog translation
Go Translation!
Rejected.
Too easily cheatable, and use of
Random
instead ofQuickCheck
.I have tried many times and test always passed.
Please note this sentence in description:
Order by location (US before EU), then by id.
walk in the park
Walk in the park
Walk in the park
Walk in the park
I'm passing 10/11 tests with my current code, but don't understand the error message for the last one. It says it fails to meet expected results on the rows, but I don't see what the difference is here. Any suggestions?
rows
should return expected results
Test Failed
expected: [{:id=>1, :name=>"Enormous Wool Knife", :price=>63.28, :card_name=>"Edward Thompson", :card_number=>"...ber=>"1212-1221-1121-1234", :transaction_date=>#<Date: 2018-12-22 ((2458475j,0s,0n),+0s,2299161j)>}]
got: [{:id=>1, :name=>"Enormous Wool Knife", :price=>63.28, :card_name=>"Edward Thompson", :card_number=>"...ber=>"1212-1221-1121-1234", :transaction_date=>#<Date: 2018-12-22 ((2458475j,0s,0n),+0s,2299161j)>}]
(compared using ==)
Diff:
Loading more items...