rails_port_0.5: Add the index before loading the data as suggested by Tom Hughes.