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

John Ivanoff
2006-11-21T16:57:50Z

this line is causing it to fail.
assert_tag :tag => ''td'', :content =>
parameters[:book][:title]

when i comment it out it runs.
now like i said before that when i ran this test from 93 it ran fine.
this is why i am confused.

I bought the companion e-book on friday and still haven''t recieved my
pdf yet. I''m not to happy with their ''support'' either

On 11/21/06, Bala Paranj
<bcparanj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> I remember something similar to that error. I will post the actual error
> message when I get back home. For the time being you can comment out the
> assertions that is checking for those tags.
>
> This is really annoying, author has not responded to my emails. Apress does
> not have any forum for errata help. Do the authors and the publisher still
> live in caves? Book is good but the support is poor compared to other
> publishers like Pragmatic programmers and Manning.
>
> I have encountered two problems so far, one with migration and the other
> with assertion that checks for html tags. To see what was going on with the
> migration, I did: rake db:migrate --trace
>
> For some weird reason it seems to think that it has to run the migration
for
> create tables (the previous migration) as well as the add cover_image
column
> migration. For the time being, I commented out the entire file for the
> create books table and author_books table in the migration before add
> cover_image column migration.
>
> 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
> >
> >
>
>  >