From: "David A. Black" Date: 2009-01-21T07:47:41+09:00 Subject: Re: rails console output shows "\n" rather than putting in new line? is there a way to change this? Hi -- On Wed, 21 Jan 2009, Phlip wrote: >> Question: Is there a way to change this for the console? > > Don't rely on the console so much. Put puts in a unit test! I rely heavily on the console, and also on unit tests. The two aren't in conflict or competition; they're different tools. It's important to know how irb (in Rails console form or otherwise) works, and why it produces the output it does. David -- David A. Black / Ruby Power and Light, LLC Ruby/Rails consulting & training: http://www.rubypal.com Coming in 2009: The Well-Grounded Rubyist (http://manning.com/black2) http://www.wishsight.com => Independent, social wishlist management!