SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Threaded View

  1. #1
    SitePoint Member
    Join Date
    Apr 2009
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ruby error in book

    Hi,
    I am trying to learn RoR from the book 'Build your own Ruby on Rails Web Applications'.

    Everything is going fine. However I am stuck on this code

    Please view the attached jpg code as this forum is not allowing me to post signs!(code.jpg)

    (page 214 of the book)

    If the above is present in the story_controller.rb file, then browsers with javascript ENABLED do not update the score or the vote history box.

    If I hash out the above entries, everything works fine. Any suggestions?

    Thanks
    Attached Images Attached Images


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
  •