I am new to rails. I read some examples and don't understand rails erb syntax. There is a piece of code I am not familiar:
<% form_for(@bay_info) do |f| %> <%= f.error_messages %>
<p> <%= f.label :HostName %><br /> <%= f.text_field :HostName %> </p> ...
I wander what f mean. What is its type? How can I find its definition?
thanks.