Hi,

When you generate a new Rails 3 project, "basic" routes are disabled
by default because this line is commented out :
# match ':controller(/:action(/:id(.:format)))'

Is it really necessary?
What about people learning Rails who are not familiar with REST?

It was so easy to teach beginners : just create a controller, an
action, a view, open the corresponding URL and you get your hello
world. And you get all of this by convention, you don't have to
configure anything!

Ok now they just have to uncomment the previous line of code in
routes.rb to get this example working.
But shouldn't we go the opposite way by letting advanced developers
comment this line out by themselves if they don't need it?

What's your opinion about this?

Cheers,

Anthony

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to