Forum: Ruby on Rails create contact form

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Pepe S. (Guest)
on 2008-10-05 16:12
Hi all

I have a regular HTML form that I want to convert into a RoR form

Because I do not need to save the data in the database I think I need:
 - a controller and a viewer
 - send submitted fields through email

<h2>Contact Form</h2>
    <form action="contact.html">
    <legend>Please send your message: </legend>
    <p><label>Your N.:<br /><input type="text" /></label></p>
    <p><label>Your email:<br /><input type="email" /></label></p>
    <p><label>Message:<br /><textarea rows="5"
    <p><label><input type="submit" value="Submit" class="submit"

on 2008-10-05 17:50
(Received via mailing list)
You can use the static scaffold application for this. Have a look at
the scaffold feature.


On Oct 5, 5:12 pm, Pepe S. <removed_email_address@domain.invalid>
Pepe S. (Guest)
on 2008-10-06 04:31
This topic is locked and can not be replied to.