I'm walking through an example in the "Head First Rails" book, but,
instead doing the examples using Rails3.0.0.rc.

But, I'm getting this error when browsing for example:

http://localhost:3000/advs/1

undefined method `eq' for nil:NilClass

Provided that my advs_controller.rb is as follows:

http://pastie.org/private/cd9zntg2ite57ept288kfa

Any ideas why I'm getting that and a workaround for that?

Thanks.
-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to