In my Rails 3 app, I have a form that asks users to write a note. For example, the text the user inputs might be

```
@note = "This is a note\n\nwith whitespace."

```

How do I make this actually render as

```
This is a note

with whitespace.

```

when I display the note in my view? (I'm looking for a general solution, not one that simply replaces `\n` with `<br />` or such.)