Forum: Creating variable

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
242df341f1748e1bfa9afc74b1eb8d45?d=identicon&s=25 Davicín .. (zaid)
on 2008-01-12 14:07
Good morning,

I am beginning to develop a ruby part of a web. I
I have the driver code "book" and I spend their ID in the variable, but gives me the following error.

undefined method `current_book' for Book:Class

How do I define the variable to my tests?

Thank you
This topic is locked and can not be replied to.