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

Fernando Aleman
2006-12-11T16:11:03Z

Bala Paranj wrote:
> There is another related thread on this list. Change the test_process.rb
> to
> the implementation shown below:
>
> --- vendor/rails/actionpack/lib/action_controller/test_process.rb
>  def html_document
>    HTML::Document.new(@response.body)
>  end
>
> Let us know if that fixes the problem.

I tried this and it seems to work for some of the tests, but in turn,
produces a numerous amount of additional errors in other parts of the
testing.

I have to say that I am disappointed in this book. I think a good effort
was made in putting this out for programmers, but I find myself spending
more time trying to figure out what went wrong than actually learning. I
even copy over the folders from the source code I downloaded from the
authors and the code fails. Very frustrating.


--
Posted via http://www.ruby-forum.com/.