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?