#47 ✓hold
Xavier Noria

irb output needs revision on pages 402--403

Reported by Xavier Noria | December 25th, 2007 @ 09:46 PM | in The Rails 3 Way

There's an irb session on pages 402--403.

The strings which are result of calls to link_to are double-quoted, but have double quotes inside without backslashes. Besides, the last example lacks the surrounding quotes.

The outputs in this chapter in general are not uniform, sometimes they are not quoted, or else they use double or single quotes. In that case quotes are not always escaped when they would in an ordinary string.

Comments and changes to this ticket

  • Lark

    Lark January 27th, 2010 @ 12:14 AM

    • State changed from “new” to “open”
    • Tag set to chapter11, errata

    I made a Rails view to actually render these link_to's out.

    Obie, please take a look at Chapter 11's link_to section and tell me how you like the formatting of both the Haml and the rendered HTML output. (I preserved the original content in example_link_to_original on Dropbox.)

    We're also going to have to discuss how to handle Haml and line-wrapping. As it stands, I used Haml's multiline continuation bars when lines would exceed 72 characters.

    Anyways, this is a view that actually renders, and we can re-run it when unobtrusive JavaScript is implemented, to see how the delete link will render more cleanly.

  • Lark

    Lark March 9th, 2010 @ 10:59 PM

    • Assigned user changed from “Obie” to “Lark”
  • Obie

    Obie August 29th, 2010 @ 12:38 PM

    • State changed from “open” to “hold”
    • Milestone order changed from “0” to “0”

    Is this done in the current version of the manuscript? Thanks...

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Pages