Permalink
Browse files

Fixed string/symbol issue in TRTableDelegate.rb. Coerce column identi…

…fier to_sym
  • Loading branch information...
1 parent 5bd9baa commit a90ced6e5ee35d1927e63f150e803e751a558839 @topfunky topfunky committed Nov 9, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 TRTableDelegate.rb
View
@@ -10,7 +10,7 @@ def numberOfRowsInTableView(tableView)
def tableView(tableView, objectValueForTableColumn:column, row:row)
NSLog("Asked for row: #{row} column: #{column}")
if row < parent.updates.length
- return parent.updates[row].valueForKey(column.identifier)
+ return parent.updates[row].valueForKey(column.identifier.to_sym)
end
nil
end

0 comments on commit a90ced6

Please sign in to comment.