Marcelo Barbudas wrote:
> Given http://www.planet.com/countries files like: countries/
> index.html.erb, countries/_country.html.erb, layouts/
> application.html.erb and so on.
> 

You really need to look at the routing and the controller code and the 
request type to know for sure.

http://www.planet.com/countries will generally go to the countries 
controller, the index method in that controller, using 
application.html.erb and the index.html.erb view to render the view. 
That is all dependent on the assumption that the application does not 
diverge from 'vanilla' Rails.

What template does the controller actually use? Does the index method go 
to index.html.erb, or is the controller method actually invoking a 
different view?, etc...

That'll get you to the first view level. Then you need to see what the 
particular view does. Does it include partials? If so, which ones and 
from where?

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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en.

Reply via email to