Browse files

Refactoring: replaced item.get to item.getlist

  • Loading branch information...
1 parent 4277290 commit 46741a611a74946394fd9c7629f245185d15f7c4 Makoto Inoue committed Nov 10, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tc_adapter.rb
@@ -100,7 +100,7 @@ def read_one(query)
when :eql
item_id = access_data(query.model, do |item|
- item.get(value)
+ item.getlist(value)
when :not # TODO: Think about better way to extract, as this is going through data one by one
then NotImplementedError{"The below code is not working as order is not always correct"}

0 comments on commit 46741a6

Please sign in to comment.