Ask A Question


You’re not receiving notifications from this thread.

How can i create a contact form in rails.

SMEHSAN asked in Rails

currently i am trying to add a contact page to my blog.
as a biggener i don't know how to do that.
can any one please tell me, how can i do that.
and is there any available tutorial for that, which i can follow.

thank you.


You might try this gem called mail_form:


@Chris Oliver thank you.
but if i don't want to use any gems for that.
what should i do?

Thank you


For anyone else looking to implement a contact from.
Mail_form is indeed an easy way to do it.
I followed this guide and got implementation up and running in 20m.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 79,047+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.