In rails 2.0, the default implementation of to_s generates something
like #<User id: 1, name: "fred" >
You're just dumping that into the page, which isn't valid html is
confusing the hell out of the browser. Depending on what your trying
to do, the debug helper is pretty good for inspecting stuff.
I wasn't sure if you were trying to actually output something nicely or just dump some debug output to the screen (which the debug helper does nicely - just pass it an object and it will output some nice stuff).
For what your're doing, something like users.collect(&:name).join(', ') will do the trick (assuming users is an array of users and name is the attribute you care about)
If you were outputting more stuff (eg a table row for each user, typically you'd use a partial.