Displaying 1 result from an estimated 1 matches for "ref_c_object".
2006 Feb 01
4
Where is the send() function?
Hi,
in the tutorial "4 Days on Rails" the following code fragment is used:
,----
| <% for column in Category.content_columns %>
| <td><%=h category.send(column.name) %></td>
| <% end %>
`----
Apparently, the send() function returns the column value by name, but
where does this function comes from? Unfortunately, neither the tutorial
nor the API