modified load_table_row method due to problems in my rails console