Ask A Question

Notifications

You’re not receiving notifications from this thread.

How can i create a contact form in rails.

SMEHSAN asked in Rails

Hello,
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.

Reply

You might try this gem called mail_form: https://github.com/plataformatec/mail_form

Reply

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

Thank you

Reply

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.
https://medium.com/@Gabriel.Valle/rails-and-mail-form-f4bc4f991c83

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