Yeah,
I’m trying to develop a “User Profile” and want to show some forms with
the
content stored in database. I search in documentation but i don’t find
anything useful. I try
at controller:
@u = User.find(:last)
at view:
<% form_for :user |f| do %>
f.text_field :name, :object => @u.name
<% end %>
But what’s object really does?
–
Regards,
Luiz Vitor Martinez C.
cel.: (11) 8187-8662
blog: rubz.org
engineer student at maua.br