문제

I made a contact form for my web app using Pony. I have yet to figure out how to format the email with certain fields from the form. I would like the email formatted in the way below,

First Name: "user inputted first name" Last Name: "user inputted last name"

Does anyone have any experience with Pony that has achieved this yet? I can post code snippets if needed.

도움이 되었습니까?

해결책

So im new to Rails, I sometimes forget im using Ruby. Anyways I just called the value associated with each param key. So (First Name: #{fname}\nLast Name: #{lname}).

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top