On 13 Jan 2008, at 09:26, Davicín .. wrote:
>
> 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
> Book.current_book.id, but gives me the following error.
>
> undefined method `current_book'' for Book:Class
>
> How do I define the variable to my tests?
You''ll have to show us exactly what it is you are doing/trying to do.
Fred>
>
> Thank you
> --
> Posted via http://www.ruby-forum.com/.
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google
> Groups "Ruby on Rails: Talk" group.
> To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
> To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/rubyo
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---