Hi,
When ever I use scaffolding to start off and provide the basics for
writing to, and reading from, a database table I notice that in the
controller it always has:
def index
list
render :action => ‘list’
end
I understand what the index method does, and I understand what render
does. What I don’t understand is why has ‘list’ there before the render
method? What is this call doing?
The reason I am asking is that when I take ‘list’ line out of the index
method, the list action will not work? Why is this?
Thanks for any help,
Richard