I’m studying the Agile Development with Rails book. In the chapter that
first sets up the depot application (page 68), there is this bit of code
from a view:
<% for product in @products %>
I am trying to absorb both Ruby and rails as fast as I can. So I am
searching both the Ruby API and the Rails API for methods that I don’t
know. When I lookup “send” in the rails API, I don’t find anything.
look it up in the Ruby API, it says that the form is obj.send(symbol
[,args…]). Well, there is no symbol in use here. So I am confused
Then, I can’t find a method “name” anywhere. Unlike “human_name”, it is
listed as one of the methods of a Column in active record. At least I
I know what this code accomplishes, but I wish I understood it better.
Can anyone point me in the right direction?