Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
Rails 2.0 view template format
2 Posts
Rails 2.0 view template format

I see. That's why when I viewed the methods in the generated controller all of the methods have a respond_to statement. But why this kind of change?

I recently tried Rails 2.0 using InstantRails 2.0. When I tried scaffolding to make a quick test I was surprised to see that the template files for the views have a different extension. It now has the .html.erb extension instead of the .rhtml. What's the reason for this?

2 Posts
Login to add your message