SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2009
    Location
    Marin CA
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simply Rails 2 (page 152)

    why is the story.link included in the formula 13?

  2. #2
    SitePoint Member
    Join Date
    Apr 2009
    Location
    Marin CA
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Referencing the html which results in

    A random link: SitePoint Forums

  3. #3
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,443
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)
    Hi cberry1971, welcome to the forums

    The link_to function is being passed 2 arguments, the link text (@story.name) and the link URL (@story.link).


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •