Rails: Nested contact form in models show page
===

This is a follow up from this question - http://stackoverflow.com/questions/11318428/how-to-create-a-rails-contact-form-inside-a-models-show-page. 


So I have model **message** and every-time I create a **new message** I get an **e-mail** via actionmailer. Now this all works nice and smooth.


But what I want to do is add this **message** to another model - **trip** as an attribute.
So users can simply **create a message** from **trips show page.** 
And I would get an email every-time this happens. - What's the best and simplest way to do this ?

Can You help me with this?
Thanks!







 

