Ticket #70 (new defect)

Opened 19 months ago

Table#only method is broken

Reported by: Klondike Owned by: why
Keywords: Cc:

Description

Table#only(id) always returns the first item. The docs advertise this as returning an item by id. Tables are tough to really play with without this!

table = Hacker(hacker).load_table('MyFiles')
p table.only(3)[:id]
=> 1
Note: See TracTickets for help on using tickets.