Lets say you had a simple form to create a new article object in your application.
<% form_for @article do |f| %>
<p>
name:<br />
<%= f.text_field :name %>
</p>
<p>
link:<br />
<%= f.text_field :link %>
</p>
<p>
<%= submit_tag %>
</p>
I'm using the RSS feed parser Feedtools to get the article names but I can't seem to automatically fill in the form fields from data that is accessible elsewhere. Say the name of the article is accessible through params[:name]. How could I get the name of the article from params[:name] (or params[:link] for that matter) into the form field without the user having to type it in? I don't want to automatically create an article object either because the user may want to modify the name slightly.