What is 'f' ?  form_tag or field_tag for which object?

On Jun 8, 10:57 am, Zhenning Guan <[email protected]>
wrote:
> <%= text_field_tag 'login' ,nil, {:class => 'line'} %>
>  the old way work.
>
> <%= f.text_field :login, :class => 'line' %>
>  but why this doesn't.
> --
> Posted viahttp://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