02 Jul 2009, 01:07
Generic-user-small

Padmanabhan Srinivasan (5 posts)

In Page 26, there is a reference to http://…/people/list and then to add some code to “list.rhtml”.

  1. The url above tries to search for a user called “list”.

  2. There is no file called “list.rhtml”. There are 4 files in app/views/people : index.html.erb, edit.html.erb, show.html.erb, new.html.erb.

I tried adding the code suggested to index.html.erb but get errors like

undefined method `start_form_tag’ for #

Any ideas to solve this ? Also, will the ebook be updated ?

Thanks

pady

03 Jul 2009, 00:55
Generic-user-small

Padmanabhan Srinivasan (5 posts)

Got past this issue by using “form_tag”. In page 28, there is reference to paginate, but “classic_paginate” has been removed from rails 2.x. Also the link to the plugin doesnt work. So the only way is to use a third-party paginate ( will_paginate ) which given where i am in the book, have no idea to use it.

THIS BOOK NEEDS TO BE UPDATED…ANYBODY ?

Thanks

pady

  You must be logged in to comment