# Problem during the friendship model

**URL:** <https://www.ruby-forum.com/t/problem-during-the-friendship-model/133396>\
**Category:** Rails\
**Created:** [March 31, 2008, 8:08am UTC](https://www.ruby-forum.com/t/problem-during-the-friendship-model/133396 "2008-03-31T08:08:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagdishSRubin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/d6d6ee/32.png) [@jagdishSRubin](https://www.ruby-forum.com/u/jagdishSRubin)\
**Post date:** [March 31, 2008, 8:08am UTC](https://www.ruby-forum.com/t/problem-during-the-friendship-model/133396/1 "2008-03-31T08:08:42Z")

</div>

Hi all,

In my project I have to build a friendship model. So I followed as in  
the RailsSpace Book. I have used Salted\_hash\_login generator as a  
login authentication. Now after I build the friendship model, I have  
got a problem .  
It occurs following type of error …Plz let me know why this is  
happening…

ActionView::ActionViewError in FriendshipController#create

Due to changes in ActionMailer, you need to provide the mailer\_name  
along with the template name.

render “user\_mailer/signup”  
render :file =\> “user\_mailer/signup”

If you are rendering a subtemplate, you must now use controller-like  
partial syntax:

render :partial =\> ‘signup’ # no mailer\_name necessary

…

Even thought this error comes the tuple get inserted into the  
friendship table and friendship get created in my localhost…
