SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Nov 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Page 128 creating records

    hi im following the lenz book as i need to learn ruby inorder to do my final year degree project but i've become stuck on the creating records. i have done a search on the forum but to no avail.

    i can create the s=Story.new fine but when i try the next line s.name = 'my shiny weblog'

    i keep getting NoMethodError: undefined method 'name=' for < etc

    ive been back over the pages to check the edits for typos but i can't see anything.

    any input is greatly appreciated.

    p.s is there anyway to copy the text from the command promt?

    Roxanne

  2. #2
    SitePoint Member
    Join Date
    Nov 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no matter i figured it out. but i cant see how to delete my post


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
  •