Re: Beginning Ruby on Rails E-Commerce : Errata Help

Bala Paranj
2006-11-22T00:06:34Z

I get the following error message:

expected tag, but no tag found matching {:content=>"Ruby for
Dummies",
:tag=>"td"} in:

when the assertion:

assert_tag :tag => ''option'', :attributes => { :value
=> publisher.id }

gets executed. So, it looks like we both have the same problem. I have
commented out the following two assert statements for the time being:

assert_tag :tag => ''option'', :attributes => { :value
=> publisher.id }
assert_tag :tag => ''select'', :attributes => { :id =>
''book[author_ids][]'' }

Heads up on another issue, the book does not tell you to install
RedCloth. You will run into problem on page number 128. So you must
install RedCloth to use the textilize method. On Mac I did this: sudo
gem install RedCloth

On 11/20/06, John Ivanoff
<john.ivanoff-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
>
> I''m almost there.
> did you gett errors when running the test on page 101?
>
> ruby test/integration/book_test.rb
>
> it ran for me before adding the select and option tags, now I get
> >> expected tag, but no tag found matching {:content=>"Ruby
for
> Dummies", :tag=>"td"} in: ...(html code for the page)
> when i run it.
>
> I''ve copied the code fron the source and it still fails.
> it works when i use the web interface... I''m lost