scrope (6) [Avatar] Offline
#1
In Iteration 3 p. 67 listing 3.13 shows the file appviewsusers
ew.rhtml but in my directory I see the file new.html.erb.

I'm new to this and just following along. I *thought* I followed the instructions properly. Did I make a mistake? If so, how do I get the correct file?

Thanks,

Abe
nachbar (45) [Avatar] Offline
#2
Re: new.rhtml or new.html.erb File - Iteration 3 p.67
You have followed the instructions properly (at least regarding this issue). Rails has changed its file naming conventions with Rails 2. '.erb' means "Embedded Ruby".

There is a third edition of "Agile Web Development with Rails" coming out, which teaches Rails 2 - you can get the .pdf of "beta" version of the book at http://pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition . It is HIGHLY recommended if you are at all interested in learning about Rails.

James Nachbar
http://www.plastic.org
scrope (6) [Avatar] Offline
#3
Re: new.rhtml or new.html.erb File - Iteration 3 p.67
Everything seemed to work but it's nice to know that it was an intended change in Rails 2. Thanks.

Abe