On 26 May 2010 19:06, anon_comp <[email protected]> wrote:
> OK, so I'm an absolute noob at Ruby on Rails. I've read a lot of
> information I can find about form_for and most of them use form_for to
> create new items that get saved into the database and can be viewed
> later to edit, destroy, etc. In this case, the database will fill up
> with whatever the user wrote and I just want my program to have no
> information stored.
>
> I've been trying to take a user's input from the text_field or
> file_field and once they hit the "submit" button, they get redirected
> to another page that, for instance, says "You wrote: [insert user
> input here]" I've been having no luck whatsoever doing this except to
> use HTML form, but I was hoping I can do this in Ruby on Rails.

If the form is not associated with a model then form_tag may be more
appropriate.

Colin

-- 
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