displaying model data in a form

<%= @some_object.fieldname %> Unless I misunderstand the question.

This is such a basic question that I suspect you would benefit from reading the guides at http://guides.rubyonrails.org/.

Colin